|
Boost : |
From: Jonathan Wakely (cow_at_[hidden])
Date: 2005-03-23 11:53:35
On Wed, Mar 23, 2005 at 04:06:09PM +0000, Joaquin M Lopez Munoz wrote:
> "I can't think of any way that this extension could
> break a conforming program, considering that users
> are not permitted to forward-declare standard
> library components"
>
> Is this really so? Why cannot I forward declare a
> stdlib component?
Opening namespace std for anything except specialisations of standard
library templates (with user-defined types as parameters) is illegal.
jon
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk