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
|
@ -8,9 +8,9 @@
|
|||
#ifndef SPROUT_DARKROOM_ACCESS_TRAITS_HPP
|
||||
#define SPROUT_DARKROOM_ACCESS_TRAITS_HPP
|
||||
|
||||
#include <type_traits>
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/tuple/tuple.hpp>
|
||||
#include <sprout/type_traits/integral_constant.hpp>
|
||||
|
||||
namespace sprout {
|
||||
namespace darkroom {
|
||||
|
@ -20,7 +20,7 @@ namespace sprout {
|
|||
//
|
||||
template<typename T>
|
||||
struct is_tuple
|
||||
: public std::false_type
|
||||
: public sprout::false_type
|
||||
{};
|
||||
template<typename T>
|
||||
struct is_tuple<T const>
|
||||
|
@ -36,7 +36,7 @@ namespace sprout {
|
|||
{};
|
||||
template<typename... Types>
|
||||
struct is_tuple<sprout::tuples::tuple<Types...> >
|
||||
: public std::true_type
|
||||
: public sprout::true_type
|
||||
{};
|
||||
} // namespace access
|
||||
} // namespace darkroom
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue