Boost logo

Boost :

From: vladimir josef sykora (vladimir.sykora_at_[hidden])
Date: 2002-12-09 13:41:25

Greetings boosters,
I have a class like this one

template <class Sequence>
struct foo {

// usage example :
  typedef boost::mpl::vector<...> types;
  typedef foo<types> foo_types;
  std::vector<foo_types> std_vect_foos;

When mpl::copy_backward is present (from boost/mpl/insert.hpp for example),
I get this error (gcc 3.2):

   Sequence, class State, class BinaryOp> struct boost::mpl::copy_backward'
   not a function,
conflict with `
   template<class _BI1, class _BI2> _BI2 std::copy_backward(_BI1, _BI1,
in call to `copy_backward'

Since std::copy_backward is found via ADL, I consider this IMHO a stringent
restriction to the use of mpl::insert & mpl::erase. Please correct me if I'm

vladimir josef sykora
morphochem AG
gmunder str. 37-37a
81379 muenchen
tel. ++49-89-78005-0
fax  ++49-89-78005-555

Boost list run by bdawes at, gregod at, cpdaniel at, john at