
"Fredrik Blomqvist" <fredrik_blomqvist@home.se> writes:
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).
But not Borland or CWPro8 (pro9 is fine). I'm soliciting suggestions for the name of the member. All names with suffixes like "_t" will be rejected, and be aware that base is already taken for other purposes. Currently my thoughts are super // super crtp // ugly Dave -- Dave Abrahams Boost Consulting http://www.boost-consulting.com