mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
all type_traits support C++14 requirements
This commit is contained in:
parent
bf0c7021cf
commit
403e83eaf0
95 changed files with 319 additions and 268 deletions
|
@ -14,6 +14,7 @@
|
|||
#include <sprout/container/traits.hpp>
|
||||
#include <sprout/container/functions.hpp>
|
||||
#include <sprout/range/adaptor/detail/sized_range_default.hpp>
|
||||
#include <sprout/type_traits/integral_constant.hpp>
|
||||
#include <sprout/type_traits/lvalue_reference.hpp>
|
||||
#include <sprout/utility/forward.hpp>
|
||||
#include <sprout/utility/lvalue_forward.hpp>
|
||||
|
@ -49,7 +50,7 @@ namespace sprout {
|
|||
//
|
||||
template<std::size_t Size>
|
||||
class size_holder
|
||||
: public std::integral_constant<std::size_t, Size>
|
||||
: public sprout::integral_constant<std::size_t, Size>
|
||||
{};
|
||||
|
||||
//
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#include <sprout/utility/swap.hpp>
|
||||
#include <sprout/utility/move.hpp>
|
||||
#include <sprout/utility/forward.hpp>
|
||||
#include <sprout/type_traits/integral_constant.hpp>
|
||||
|
||||
namespace sprout {
|
||||
namespace range {
|
||||
|
@ -117,7 +118,7 @@ namespace sprout {
|
|||
//
|
||||
template<typename T>
|
||||
struct is_range_container
|
||||
: public std::false_type
|
||||
: public sprout::false_type
|
||||
{};
|
||||
template<typename T>
|
||||
struct is_range_container<T const>
|
||||
|
@ -133,7 +134,7 @@ namespace sprout {
|
|||
{};
|
||||
template<typename Iterator>
|
||||
struct is_range_container<sprout::range::range_container<Iterator> >
|
||||
: public std::true_type
|
||||
: public sprout::true_type
|
||||
{};
|
||||
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue