|
Boost Users : |
Subject: [Boost-users] [Fusion, maybe?] Workings of ADL.
From: Robert Jones (robertgbjones_at_[hidden])
Date: 2010-09-08 04:55:15
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?
Thx
- Rob.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net