mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-29 12:07:36 +02:00
Strips top-level cv-qualifiers off non-reference types, now.
[SVN r41642]
This commit is contained in:
@ -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