Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2005-01-21 03:06:21


> Did you tried a test with operator<<? This is primary target area for ADL,
> isn't it?

Here an example that shows my problem:

template<typename T> struct abc{};

namespace foobar{

struct A {};

void operator<<( abc<A> const&, char) {}

}

void test()
{
   abc<foobar::A> t;

   t << '0';
}

This code compiles by most compilers (including online Cameau), but Borland
fails it.

Gennadiy


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk