It's not a compiler thing. Look at the implementation: http://www.boost.org/boost/detail/call_traits.hpp
template <typename T> struct call_traits<T&> { typedef T& value_type; // <-- problem here typedef T& reference; typedef const T& const_reference; typedef T& param_type; // hh removed const }; Thanks, Eric "Rozental, Gennadiy" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > The way call_traits is currently implemented, > > call_traits<int&>::value_type > > is an int&, not an int. > > Maybe it's due to lack of partial specialization. What compiler are you > using? > Without PTS y oucould not deduce int from int&. > > Gennadiy. > _______________________________________________ > Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost > _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost