mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-23 00:57:20 +02:00
Compare commits
1 Commits
sandbox-br
...
svn-branch
Author | SHA1 | Date | |
---|---|---|---|
0bd3b63d46 |
@ -14,8 +14,6 @@
|
||||
#include <boost/utility/result_of.hpp>
|
||||
|
||||
#include <boost/type_traits/remove_reference.hpp>
|
||||
#include <boost/type_traits/add_reference.hpp>
|
||||
#include <boost/type_traits/add_const.hpp>
|
||||
|
||||
#include <boost/fusion/support/is_view.hpp>
|
||||
#include <boost/fusion/support/category_of.hpp>
|
||||
@ -36,7 +34,7 @@ namespace boost { namespace fusion
|
||||
struct result<addref(U)> : add_reference<U> {};
|
||||
|
||||
template <typename T>
|
||||
typename add_reference<T>::type
|
||||
typename boost::result_of<addref(T)>::type
|
||||
operator()(T& x) const
|
||||
{
|
||||
return x;
|
||||
@ -54,14 +52,14 @@ namespace boost { namespace fusion
|
||||
{};
|
||||
|
||||
template <typename T>
|
||||
typename add_reference<typename add_const<T>::type>::type
|
||||
typename boost::result_of<addconstref(T)>::type
|
||||
operator()(T& x) const
|
||||
{
|
||||
return x;
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
typename add_reference<typename add_const<T>::type>::type
|
||||
typename boost::result_of<addconstref(T)>::type
|
||||
operator()(T const& x) const
|
||||
{
|
||||
return x;
|
||||
|
Reference in New Issue
Block a user