mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-16 15:14:13 +00:00
fix type-traits
This commit is contained in:
parent
8f818ee63f
commit
3eafabb1ed
15 changed files with 202 additions and 136 deletions
|
@ -196,10 +196,6 @@ namespace sprout {
|
|||
: public std::false_type
|
||||
{};
|
||||
template<typename T>
|
||||
struct is_reference_wrapper<sprout::reference_wrapper<T> >
|
||||
: public std::true_type
|
||||
{};
|
||||
template<typename T>
|
||||
struct is_reference_wrapper<T const>
|
||||
: public sprout::is_reference_wrapper<T>
|
||||
{};
|
||||
|
@ -211,6 +207,10 @@ namespace sprout {
|
|||
struct is_reference_wrapper<T const volatile>
|
||||
: public sprout::is_reference_wrapper<T>
|
||||
{};
|
||||
template<typename T>
|
||||
struct is_reference_wrapper<sprout::reference_wrapper<T> >
|
||||
: public std::true_type
|
||||
{};
|
||||
|
||||
//
|
||||
// unwrap_reference
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue