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
|
@ -11,6 +11,6 @@
|
|||
#include <sprout/config.hpp>
|
||||
#include <sprout/functional/bind/bind.hpp>
|
||||
#include <sprout/functional/bind/placeholder.hpp>
|
||||
#include <sprout/functional/bind/udl.hpp>
|
||||
#include <sprout/functional/bind/literals.hpp>
|
||||
|
||||
#endif // #ifndef SPROUT_FUNCTIONAL_BIND_HPP
|
||||
|
|
|
@ -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_FUNCTIONAL_BIND_UDL_HPP
|
||||
#define SPROUT_FUNCTIONAL_BIND_UDL_HPP
|
||||
#ifndef SPROUT_FUNCTIONAL_BIND_LITERALS_HPP
|
||||
#define SPROUT_FUNCTIONAL_BIND_LITERALS_HPP
|
||||
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/functional/bind/placeholder.hpp>
|
||||
#include <sprout/detail/udl_namespace.hpp>
|
||||
|
||||
#if SPROUT_USE_USER_DEFINED_LITERALS
|
||||
|
||||
|
@ -34,7 +35,7 @@ namespace sprout {
|
|||
>
|
||||
{};
|
||||
|
||||
namespace udl {
|
||||
namespace literals {
|
||||
namespace placeholders {
|
||||
//
|
||||
// _
|
||||
|
@ -54,11 +55,11 @@ namespace sprout {
|
|||
}
|
||||
} // namespace placeholders
|
||||
|
||||
using sprout::udl::placeholders::operator"" _;
|
||||
using sprout::udl::placeholders::operator"" _tail;
|
||||
} // namespace udl
|
||||
using sprout::literals::placeholders::operator"" _;
|
||||
using sprout::literals::placeholders::operator"" _tail;
|
||||
} // namespace literals
|
||||
} // namespace sprout
|
||||
|
||||
#endif // #if SPROUT_USE_USER_DEFINED_LITERALS
|
||||
|
||||
#endif // #ifndef SPROUT_FUNCTIONAL_BIND_UDL_HPP
|
||||
#endif // #ifndef SPROUT_FUNCTIONAL_BIND_LITERALS_HPP
|
Loading…
Add table
Add a link
Reference in a new issue