/*============================================================================= Copyright (c) 2011-2014 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_INDEX_TUPLE_UDL_HPP #define SPROUT_INDEX_TUPLE_UDL_HPP #include #include #if SPROUT_USE_USER_DEFINED_LITERALS #include #include namespace sprout { // // indexes_result // uindexes_result // template struct indexes_result : public sprout::make_index_tuple::value> {}; template struct uindexes_result : public sprout::make_uindex_tuple::value> {}; namespace udl { namespace indexes { // // _indexes // _uindexes // template SPROUT_CONSTEXPR typename sprout::indexes_result::type operator"" _indexes() { return sprout::indexes_result::make(); } template SPROUT_CONSTEXPR typename sprout::uindexes_result::type operator"" _uindexes() { return sprout::uindexes_result::make(); } } // namespace indexes using sprout::udl::indexes::operator"" _indexes; using sprout::udl::indexes::operator"" _uindexes; } // namespace udl using sprout::udl::indexes::operator"" _indexes; using sprout::udl::indexes::operator"" _uindexes; } // namespace sprout #endif // #if SPROUT_USE_USER_DEFINED_LITERALS #endif // #ifndef SPROUT_INDEX_TUPLE_UDL_HPP