Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2003-08-07 06:04:37


Fernando Cacciola wrote:
>
> BTW, I have a question:
>
> According to BCB, the primary swap is hidden when some swap is
> declared directly in std even for ADL.
> That is, not even this works:
>
> using std::swap; swap(x,y);
>
> is this conformant?

Yes, declaring things in std is undefined behavior.


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