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
|
@ -10,6 +10,7 @@
|
|||
|
||||
#include <type_traits>
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/type_traits/integral_constant.hpp>
|
||||
#include <sprout/weed/expr/expr_fwd.hpp>
|
||||
|
||||
namespace sprout {
|
||||
|
@ -20,7 +21,7 @@ namespace sprout {
|
|||
//
|
||||
template<typename T>
|
||||
struct is_expr
|
||||
: public std::false_type
|
||||
: public sprout::false_type
|
||||
{};
|
||||
template<typename T>
|
||||
struct is_expr<T const>
|
||||
|
@ -36,7 +37,7 @@ namespace sprout {
|
|||
{};
|
||||
template<typename Tag, typename... Args>
|
||||
struct is_expr<sprout::weed::expr<Tag, Args...> >
|
||||
: public std::true_type
|
||||
: public sprout::true_type
|
||||
{};
|
||||
} // namespace traits
|
||||
} // namespace weed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue