Boost logo

Boost :

From: Gabriel Dos Reis (gdr_at_[hidden])
Date: 2003-01-11 15:25:13


"Paul Mensonides" <pmenso57_at_[hidden]> writes:
| > Yes, but which text in the Standard forbids that?
|
| 14.3.1/2 [quote--
|
| A local type, a type with no linkage, an unnamed type or a type compounded
| from any of these types shall not be used as a template-argument for a
| template type-parameter.
|
| --end quote]

Aha, thanks. I knew of all the other restrictions except the unnamed
bits. Thanks for your patience.

Incidentely You've found a bug in at least a major compiler.

-- Gaby


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