mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-30 04:27:30 +02:00
Fusion: applied workaround for broken VC10
[SVN r60263]
This commit is contained in:
@ -36,7 +36,7 @@ namespace boost { namespace fusion
|
|||||||
struct result<addref(U)> : add_reference<U> {};
|
struct result<addref(U)> : add_reference<U> {};
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
typename boost::result_of<addref(T)>::type
|
typename add_reference<T>::type
|
||||||
operator()(T& x) const
|
operator()(T& x) const
|
||||||
{
|
{
|
||||||
return x;
|
return x;
|
||||||
@ -54,14 +54,14 @@ namespace boost { namespace fusion
|
|||||||
{};
|
{};
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
typename boost::result_of<addconstref(T)>::type
|
typename add_reference<typename add_const<T>::type>::type
|
||||||
operator()(T& x) const
|
operator()(T& x) const
|
||||||
{
|
{
|
||||||
return x;
|
return x;
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
typename boost::result_of<addconstref(T)>::type
|
typename add_reference<typename add_const<T>::type>::type
|
||||||
operator()(T const& x) const
|
operator()(T const& x) const
|
||||||
{
|
{
|
||||||
return x;
|
return x;
|
||||||
|
Reference in New Issue
Block a user