forked from boostorg/fusion
Strips top-level cv-qualifiers off non-reference types, now.
[SVN r41642]
This commit is contained in:
1 parent
6168061f97
commit
300f35fadd
1 file changed
+18
@@ -25,6 +25,24 @@ namespace boost { namespace fusion { namespace traits
|
||||
typedef T type;
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
struct deduce<T const>
|
||||
{
|
||||
typedef T type;
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
struct deduce<T volatile>
|
||||
{
|
||||
typedef T type;
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
struct deduce<T const volatile>
|
||||
{
|
||||
typedef T type;
|
||||
};
|
||||
|
||||
// Keep references on mutable LValues
|
||||
|
||||
template <typename T>
|
||||
|
||||
Reference in new issue
Block a user