mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix type-traits
This commit is contained in:
parent
8f818ee63f
commit
3eafabb1ed
15 changed files with 202 additions and 136 deletions
|
@ -19,6 +19,14 @@ namespace sprout {
|
|||
struct is_expr<T const>
|
||||
: public sprout::weed::traits::is_expr<T>
|
||||
{};
|
||||
template<typename T>
|
||||
struct is_expr<T volatile>
|
||||
: public sprout::weed::traits::is_expr<T>
|
||||
{};
|
||||
template<typename T>
|
||||
struct is_expr<T const volatile>
|
||||
: public sprout::weed::traits::is_expr<T>
|
||||
{};
|
||||
template<typename Tag, typename... Args>
|
||||
struct is_expr<sprout::weed::expr<Tag, Args...> >
|
||||
: public std::true_type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue