makes unfused_* work exclusively through boost::result_of

[SVN r38198]
This commit is contained in:
Tobias Schwinger
2007-07-13 14:09:25 +00:00
parent 7a1017dce3
commit e2015823f6
6 changed files with 161 additions and 296 deletions

View File

@ -31,6 +31,11 @@ namespace boost { namespace fusion { namespace detail
template <typename T> struct r2fp<T const> { typedef T const type; };
template <typename T> struct r2fp<T &> { typedef T type; };
// remove_const< remove_reference<_> >
template <typename T> struct uncr { typedef T type; };
template <typename T> struct uncr<T const> { typedef T type; };
template <typename T> struct uncr<T &> { typedef T type; };
template <typename T> struct uncr<T const &> { typedef T type; };
}}}
#endif