Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-01-18 09:58:26


----- Original Message -----
From: "Peter Dimov" <pdimov_at_[hidden]>

> > What's 2^n? What doesn't work?
>
> create(T &);
> create(T const &);
> create(T volatile &);
> create(T const volatile &);
>
> is 4^n. But there's no need for the volatile overloads.

...unless your compiler is "uncooperative" ;P

> create(T &);
> create(T const &);
>
> is 2^n but unfortunately doesn't work for const arguments, CWG#214 etc.

Yeah, I know. I just wanted you to spell it out.

-Dave

"Ain't I a stinker?"
-Bugs Bunny


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