1
0
Fork 0
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:
bolero-MURAKAMI 2013-11-22 21:11:08 +09:00
parent bf0c7021cf
commit 403e83eaf0
95 changed files with 319 additions and 268 deletions

View file

@ -8,9 +8,9 @@
#ifndef SPROUT_PIT_TYPE_TRAITS_HPP
#define SPROUT_PIT_TYPE_TRAITS_HPP
#include <type_traits>
#include <sprout/config.hpp>
#include <sprout/pit/pit.hpp>
#include <sprout/type_traits/integral_constant.hpp>
namespace sprout {
//
@ -18,7 +18,7 @@ namespace sprout {
//
template<typename T>
struct is_pit
: public std::false_type
: public sprout::false_type
{};
template<typename T>
struct is_pit<T const>
@ -30,7 +30,7 @@ namespace sprout {
{};
template<typename Container>
struct is_pit<sprout::pit<Container> >
: public std::true_type
: public sprout::true_type
{};
} // namespace sprout