mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-14 15:04:09 +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_RATIONAL_UDL_HPP
|
||||
#define SPROUT_RATIONAL_UDL_HPP
|
||||
#ifndef SPROUT_RATIONAL_LITERALS_HPP
|
||||
#define SPROUT_RATIONAL_LITERALS_HPP
|
||||
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/rational/rational.hpp>
|
||||
#include <sprout/detail/udl_namespace.hpp>
|
||||
|
||||
#if SPROUT_USE_USER_DEFINED_LITERALS
|
||||
|
||||
namespace sprout {
|
||||
namespace udl {
|
||||
namespace literals {
|
||||
namespace rational {
|
||||
//
|
||||
// _r
|
||||
|
@ -51,20 +52,20 @@ namespace sprout {
|
|||
}
|
||||
} // namespace rational
|
||||
|
||||
using sprout::udl::rational::operator"" _r;
|
||||
using sprout::udl::rational::operator"" _rl;
|
||||
using sprout::udl::rational::operator"" _rL;
|
||||
using sprout::udl::rational::operator"" _rll;
|
||||
using sprout::udl::rational::operator"" _rLL;
|
||||
} // namespace udl
|
||||
using sprout::literals::rational::operator"" _r;
|
||||
using sprout::literals::rational::operator"" _rl;
|
||||
using sprout::literals::rational::operator"" _rL;
|
||||
using sprout::literals::rational::operator"" _rll;
|
||||
using sprout::literals::rational::operator"" _rLL;
|
||||
} // namespace literals
|
||||
|
||||
using sprout::udl::rational::operator"" _r;
|
||||
using sprout::udl::rational::operator"" _rl;
|
||||
using sprout::udl::rational::operator"" _rL;
|
||||
using sprout::udl::rational::operator"" _rll;
|
||||
using sprout::udl::rational::operator"" _rLL;
|
||||
using sprout::literals::rational::operator"" _r;
|
||||
using sprout::literals::rational::operator"" _rl;
|
||||
using sprout::literals::rational::operator"" _rL;
|
||||
using sprout::literals::rational::operator"" _rll;
|
||||
using sprout::literals::rational::operator"" _rLL;
|
||||
} // namespace sprout
|
||||
|
||||
#endif // #if SPROUT_USE_USER_DEFINED_LITERALS
|
||||
|
||||
#endif // #ifndef SPROUT_RATIONAL_UDL_HPP
|
||||
#endif // #ifndef SPROUT_RATIONAL_LITERALS_HPP
|
Loading…
Add table
Add a link
Reference in a new issue