mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2024-12-23 21:25:49 +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
|
// _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
|
||||||
|
|
Loading…
Reference in a new issue