mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +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,11 +5,12 @@
|
|||
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_INDEX_TUPLE_UDL_HPP
|
||||
#define SPROUT_INDEX_TUPLE_UDL_HPP
|
||||
#ifndef SPROUT_INDEX_TUPLE_LITERALS_HPP
|
||||
#define SPROUT_INDEX_TUPLE_LITERALS_HPP
|
||||
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/index_tuple/index_tuple.hpp>
|
||||
#include <sprout/detail/udl_namespace.hpp>
|
||||
|
||||
#if SPROUT_USE_USER_DEFINED_LITERALS
|
||||
|
||||
|
@ -30,7 +31,7 @@ namespace sprout {
|
|||
: public sprout::make_uindex_tuple<sprout::detail::digits_to_int<sprout::uindex_t, Chars...>::value>
|
||||
{};
|
||||
|
||||
namespace udl {
|
||||
namespace literals {
|
||||
namespace indexes {
|
||||
//
|
||||
// _indexes
|
||||
|
@ -48,14 +49,14 @@ namespace sprout {
|
|||
}
|
||||
} // namespace indexes
|
||||
|
||||
using sprout::udl::indexes::operator"" _indexes;
|
||||
using sprout::udl::indexes::operator"" _uindexes;
|
||||
} // namespace udl
|
||||
using sprout::literals::indexes::operator"" _indexes;
|
||||
using sprout::literals::indexes::operator"" _uindexes;
|
||||
} // namespace literals
|
||||
|
||||
using sprout::udl::indexes::operator"" _indexes;
|
||||
using sprout::udl::indexes::operator"" _uindexes;
|
||||
using sprout::literals::indexes::operator"" _indexes;
|
||||
using sprout::literals::indexes::operator"" _uindexes;
|
||||
} // namespace sprout
|
||||
|
||||
#endif // #if SPROUT_USE_USER_DEFINED_LITERALS
|
||||
|
||||
#endif // #ifndef SPROUT_INDEX_TUPLE_UDL_HPP
|
||||
#endif // #ifndef SPROUT_INDEX_TUPLE_LITERALS_HPP
|
|
@ -11,6 +11,6 @@
|
|||
#include <sprout/config.hpp>
|
||||
#include <sprout/index_tuple/make_indexes.hpp>
|
||||
#include <sprout/index_tuple/enable_make_indexes.hpp>
|
||||
#include <sprout/index_tuple/udl.hpp>
|
||||
#include <sprout/index_tuple/literals.hpp>
|
||||
|
||||
#endif // #ifndef SPROUT_INDEX_TUPLE_UTILITY_HPP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue