mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-12 14:54:10 +00:00
rename */udl.hpp -> literals.hpp [destructive]
This commit is contained in:
parent
fea5e752bd
commit
92c7169221
22 changed files with 259 additions and 145 deletions
|
@ -5,16 +5,17 @@
|
|||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
=============================================================================*/
|
||||
#ifndef SPROUT_COMPLEX_UDL_HPP
|
||||
#define SPROUT_COMPLEX_UDL_HPP
|
||||
#ifndef SPROUT_COMPLEX_LITERALS_HPP
|
||||
#define SPROUT_COMPLEX_LITERALS_HPP
|
||||
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/complex/complex.hpp>
|
||||
#include <sprout/detail/udl_namespace.hpp>
|
||||
|
||||
#if SPROUT_USE_USER_DEFINED_LITERALS
|
||||
|
||||
namespace sprout {
|
||||
namespace udl {
|
||||
namespace literals {
|
||||
namespace complex {
|
||||
//
|
||||
// _i
|
||||
|
@ -51,20 +52,20 @@ 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"" _il;
|
||||
using sprout::udl::complex::operator"" _iL;
|
||||
} // namespace udl
|
||||
using sprout::literals::complex::operator"" _i;
|
||||
using sprout::literals::complex::operator"" _if;
|
||||
using sprout::literals::complex::operator"" _iF;
|
||||
using sprout::literals::complex::operator"" _il;
|
||||
using sprout::literals::complex::operator"" _iL;
|
||||
} // namespace literals
|
||||
|
||||
using sprout::udl::complex::operator"" _i;
|
||||
using sprout::udl::complex::operator"" _if;
|
||||
using sprout::udl::complex::operator"" _iF;
|
||||
using sprout::udl::complex::operator"" _il;
|
||||
using sprout::udl::complex::operator"" _iL;
|
||||
using sprout::literals::complex::operator"" _i;
|
||||
using sprout::literals::complex::operator"" _if;
|
||||
using sprout::literals::complex::operator"" _iF;
|
||||
using sprout::literals::complex::operator"" _il;
|
||||
using sprout::literals::complex::operator"" _iL;
|
||||
} // namespace sprout
|
||||
|
||||
#endif // #if SPROUT_USE_USER_DEFINED_LITERALS
|
||||
|
||||
#endif // #ifndef SPROUT_COMPLEX_UDL_HPP
|
||||
#endif // #ifndef SPROUT_COMPLEX_LITERALS_HPP
|
|
@ -1,15 +1,15 @@
|
|||
/*=============================================================================
|
||||
Copyright (c) 2011-2016 Bolero MURAKAMI
|
||||
https://github.com/bolero-MURAKAMI/Sprout
|
||||
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
=============================================================================*/
|
||||
#ifndef SPROUT_COMPLEX_OPERATORS_HPP
|
||||
#define SPROUT_COMPLEX_OPERATORS_HPP
|
||||
|
||||
#include <sprout/complex/arithmetic_operators.hpp>
|
||||
#include <sprout/complex/stream_operators.hpp>
|
||||
|
||||
#endif // #ifndef SPROUT_COMPLEX_OPERATORS_HPP
|
||||
|
||||
/*=============================================================================
|
||||
Copyright (c) 2011-2016 Bolero MURAKAMI
|
||||
https://github.com/bolero-MURAKAMI/Sprout
|
||||
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
=============================================================================*/
|
||||
#ifndef SPROUT_COMPLEX_OPERATORS_HPP
|
||||
#define SPROUT_COMPLEX_OPERATORS_HPP
|
||||
|
||||
#include <sprout/complex/arithmetic_operators.hpp>
|
||||
#include <sprout/complex/stream_operators.hpp>
|
||||
|
||||
#endif // #ifndef SPROUT_COMPLEX_OPERATORS_HPP
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue