rename complex user-defined literals: _if/_iF -> _i_f/_i_F

This commit is contained in:
bolero-MURAKAMI 2013-05-11 23:57:15 +09:00
parent 3ff1ffb4d9
commit 57011669a0

View file

@ -18,15 +18,15 @@ namespace sprout {
} }
// //
// _if // _i_f
// _iF // _i_F
// //
inline SPROUT_CONSTEXPR sprout::complex<float> inline SPROUT_CONSTEXPR sprout::complex<float>
operator"" _if(long double x) { operator"" _i_f(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"" _iF(long double x) { operator"" _i_F(long double x) {
return sprout::complex<float>(0, x); return sprout::complex<float>(0, x);
} }
@ -45,15 +45,15 @@ namespace sprout {
} // namespace complex } // namespace complex
using sprout::udl::complex::operator"" _i; using sprout::udl::complex::operator"" _i;
using sprout::udl::complex::operator"" _if; 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"" _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"" _if; 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"" _il; using sprout::udl::complex::operator"" _il;
using sprout::udl::complex::operator"" _iL; using sprout::udl::complex::operator"" _iL;
} // namespace sprout } // namespace sprout