Boost logo

Boost :

From: Rainer Deyke (root_at_[hidden])
Date: 2002-02-18 17:49:53


----- Original Message -----
From: "Hamish Mackenzie" <boost_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Monday, February 18, 2002 3:01 PM
Subject: RE: [boost] Most needed/desired features in C++

> I thought this was solved by Koenig lookup?
>
> using std::swap;
> swap( x, y );
>
> Then Koenig lookup will find swap if it is in the namespace that x
and y
> are in will it not?

You can't be sure that every user of 'std::swap' uses
argument-dependent lookup.

--
Rainer Deyke | root_at_[hidden] | http://rainerdeyke.com

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