mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2024-11-12 21:09:01 +00:00
rename complex user-defined literals: _if/_iF -> _i_f/_i_F
This commit is contained in:
parent
3ff1ffb4d9
commit
57011669a0
1 changed files with 8 additions and 8 deletions
|
@ -18,15 +18,15 @@ namespace sprout {
|
|||
}
|
||||
|
||||
//
|
||||
// _if
|
||||
// _iF
|
||||
// _i_f
|
||||
// _i_F
|
||||
//
|
||||
inline SPROUT_CONSTEXPR sprout::complex<float>
|
||||
operator"" _if(long double x) {
|
||||
operator"" _i_f(long double x) {
|
||||
return sprout::complex<float>(0, x);
|
||||
}
|
||||
inline SPROUT_CONSTEXPR sprout::complex<float>
|
||||
operator"" _iF(long double x) {
|
||||
operator"" _i_F(long double x) {
|
||||
return sprout::complex<float>(0, x);
|
||||
}
|
||||
|
||||
|
@ -45,15 +45,15 @@ namespace sprout {
|
|||
} // namespace complex
|
||||
|
||||
using sprout::udl::complex::operator"" _i;
|
||||
using sprout::udl::complex::operator"" _if;
|
||||
using sprout::udl::complex::operator"" _iF;
|
||||
using sprout::udl::complex::operator"" _i_f;
|
||||
using sprout::udl::complex::operator"" _i_F;
|
||||
using sprout::udl::complex::operator"" _il;
|
||||
using sprout::udl::complex::operator"" _iL;
|
||||
} // namespace udl
|
||||
|
||||
using sprout::udl::complex::operator"" _i;
|
||||
using sprout::udl::complex::operator"" _if;
|
||||
using sprout::udl::complex::operator"" _iF;
|
||||
using sprout::udl::complex::operator"" _i_f;
|
||||
using sprout::udl::complex::operator"" _i_F;
|
||||
using sprout::udl::complex::operator"" _il;
|
||||
using sprout::udl::complex::operator"" _iL;
|
||||
} // namespace sprout
|
||||
|
|
Loading…
Reference in a new issue