mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2024-11-14 10:39:05 +00:00
rename complex user-defined literals: _i_f/_i_F -> _if/_iF
This commit is contained in:
parent
cc4cad6895
commit
58cff54e0d
1 changed files with 8 additions and 8 deletions
|
@ -25,15 +25,15 @@ namespace sprout {
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// _i_f
|
// _if
|
||||||
// _i_F
|
// _iF
|
||||||
//
|
//
|
||||||
inline SPROUT_CONSTEXPR sprout::complex<float>
|
inline SPROUT_CONSTEXPR sprout::complex<float>
|
||||||
operator"" _i_f(long double x) {
|
operator"" _if(long double x) {
|
||||||
return sprout::complex<float>(0, x);
|
return sprout::complex<float>(0, x);
|
||||||
}
|
}
|
||||||
inline SPROUT_CONSTEXPR sprout::complex<float>
|
inline SPROUT_CONSTEXPR sprout::complex<float>
|
||||||
operator"" _i_F(long double x) {
|
operator"" _iF(long double x) {
|
||||||
return sprout::complex<float>(0, x);
|
return sprout::complex<float>(0, x);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -52,15 +52,15 @@ namespace sprout {
|
||||||
} // namespace complex
|
} // namespace complex
|
||||||
|
|
||||||
using sprout::udl::complex::operator"" _i;
|
using sprout::udl::complex::operator"" _i;
|
||||||
using sprout::udl::complex::operator"" _i_f;
|
using sprout::udl::complex::operator"" _if;
|
||||||
using sprout::udl::complex::operator"" _i_F;
|
using sprout::udl::complex::operator"" _iF;
|
||||||
using sprout::udl::complex::operator"" _il;
|
using sprout::udl::complex::operator"" _il;
|
||||||
using sprout::udl::complex::operator"" _iL;
|
using sprout::udl::complex::operator"" _iL;
|
||||||
} // namespace udl
|
} // namespace udl
|
||||||
|
|
||||||
using sprout::udl::complex::operator"" _i;
|
using sprout::udl::complex::operator"" _i;
|
||||||
using sprout::udl::complex::operator"" _i_f;
|
using sprout::udl::complex::operator"" _if;
|
||||||
using sprout::udl::complex::operator"" _i_F;
|
using sprout::udl::complex::operator"" _iF;
|
||||||
using sprout::udl::complex::operator"" _il;
|
using sprout::udl::complex::operator"" _il;
|
||||||
using sprout::udl::complex::operator"" _iL;
|
using sprout::udl::complex::operator"" _iL;
|
||||||
} // namespace sprout
|
} // namespace sprout
|
||||||
|
|
Loading…
Reference in a new issue