|
Boost : |
From: Fredrik Blomqvist (fredrik_blomqvist_at_[hidden])
Date: 2004-07-12 17:03:16
David Abrahams wrote:
[snip]
>
> But what you _can_ do is:
>
> derived(T const& v) : derived::super_t(v) {}
>
> I'm afraid that not every compiler supports that either, but I'm not
> certain. It's an interesting thought. I'll put it in the queue of
> iterator library issues I'm working on.
>
Sounds good!
FWIW the syntax above compiles ok in atleast VC7.1 and
Comeau online (all versions).
Thanks for looking into this.
// Fredrik Blomqvist
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk