
8 Sep
2010
8 Sep
'10
1:48 p.m.
AMDG Robert Jones wrote:
I expected this to work
#include <boost/fusion/include/vector.hpp> #include <boost/fusion/include/at_c.hpp>
typedef boost::fusion::vector<int, int> V;
int first( const V & v ) { return at_c<0>( v ); }
but I find I need a "using namespace boost::fusion;". Why isn't this covered by ADL?
When calling a function template with explicit template arguments, ADL is only activated if at least one overload is found by normal lookup. In Christ, Steven Watanabe