1
0
Fork 0
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:
bolero-MURAKAMI 2016-08-14 16:02:23 +09:00
parent fea5e752bd
commit 92c7169221
22 changed files with 259 additions and 145 deletions

View file

@ -16,7 +16,7 @@
#include <sprout/utility/string_view/conversion.hpp>
#include <sprout/utility/string_view/type_traits.hpp>
#include <sprout/utility/string_view/alias.hpp>
#include <sprout/utility/string_view/udl.hpp>
#include <sprout/utility/string_view/literals.hpp>
#include <sprout/utility/string_view/string_ref.hpp>
#endif // #ifndef SPROUT_UTILITY_STRING_VIEW_HPP

View file

@ -5,18 +5,19 @@
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_UTILITY_STRING_VIEW_UDL_HPP
#define SPROUT_UTILITY_STRING_VIEW_UDL_HPP
#ifndef SPROUT_UTILITY_STRING_VIEW_LITERALS_HPP
#define SPROUT_UTILITY_STRING_VIEW_LITERALS_HPP
#include <sprout/config.hpp>
#include <sprout/utility/string_view/string_view.hpp>
#include <sprout/detail/udl_namespace.hpp>
#if SPROUT_USE_USER_DEFINED_LITERALS
#include <sprout/workaround/std/cstddef.hpp>
namespace sprout {
namespace udl {
namespace literals {
namespace strings {
//
// _sv
@ -41,12 +42,12 @@ namespace sprout {
#endif
} // namespace strings
using sprout::udl::strings::operator"" _sv;
} // namespace udl
using sprout::literals::strings::operator"" _sv;
} // namespace literals
using sprout::udl::strings::operator"" _sv;
using sprout::literals::strings::operator"" _sv;
} // namespace sprout
#endif // #if SPROUT_USE_USER_DEFINED_LITERALS
#endif // #ifndef SPROUT_UTILITY_STRING_VIEW_UDL_HPP
#endif // #ifndef SPROUT_UTILITY_STRING_VIEW_LITERALS_HPP

View file

@ -12,6 +12,7 @@
#include <sprout/string/char_traits.hpp>
#include <sprout/utility/string_view/string_view.hpp>
#include <sprout/utility/string_view/type_traits.hpp>
#include <sprout/detail/udl_namespace.hpp>
namespace sprout {
//
@ -159,7 +160,7 @@ namespace sprout {
#endif
#endif // #if SPROUT_USE_VARIABLE_TEMPLATES
namespace udl {
namespace literals {
namespace strings {
//
// _sr
@ -184,10 +185,10 @@ namespace sprout {
#endif
} // namespace strings
using sprout::udl::strings::operator"" _sr;
} // namespace udl
using sprout::literals::strings::operator"" _sr;
} // namespace literals
using sprout::udl::strings::operator"" _sr;
using sprout::literals::strings::operator"" _sr;
} // namespace sprout
#endif // #ifndef SPROUT_UTILITY_STRING_VIEW_STRING_REF_HPP