|
Boost : |
From: David Abrahams (abrahams_at_[hidden])
Date: 2001-03-08 23:04:25
Jeremy,
This is very cool. Good job.
-Dave
----- Original Message -----
From: "Jeremy Siek" <jsiek_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Thursday, March 08, 2001 11:40 AM
Subject: Re: [boost] Named template parameters
>
> I've checked in the support for optional named template parameters. The
> previous syntax for iterator_adaptor still works, and now you can also use
> iterator_traits_generator (using "generator" instead of builder since it
> is consistent with our other type generators). I've added a test file,
> libs/utility/iter_traits_gen.cpp (still doesn't work with Borland).
> Haven't got to the docs yet.
>
>
> On Thu, 8 Mar 2001, Jeremy Siek wrote:
>
> jsiek>
> jsiek> I've got named template parameters with backward compatibility
working for
> jsiek> iterator_adaptor with VC++, g++, and KAI C++, but have run into a
snag
> jsiek> with Borland. It seems that the basic nested template recursion
technique
> jsiek> fails to compile:
> jsiek>
> jsiek> template <class A, class B>
> jsiek> struct builder {
> jsiek>
> jsiek> template <class X>
> jsiek> struct foo_type : public builder<X, B> { };
> jsiek>
> jsiek> };
> jsiek>
> jsiek> Any suggestions from you Borland experts would be appreciated :)
> jsiek>
> jsiek> Cheers,
> jsiek> Jeremy
> jsiek>
> jsiek>
>
jsiek> ---------------------------------------------------------------------
-
> jsiek> Jeremy Siek www:
http://www.lsc.nd.edu/~jsiek/
> jsiek> Ph.D. Candidate email: jsiek_at_[hidden]
> jsiek> Univ. of Notre Dame work phone: (219) 631-3906
>
jsiek> ---------------------------------------------------------------------
-
> jsiek>
> jsiek>
> jsiek>
> jsiek> List-Unsubscribe: <mailto:boost-unsubscribe_at_[hidden]>
> jsiek>
> jsiek>
> jsiek> Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
> jsiek>
> jsiek>
> jsiek>
>
> ----------------------------------------------------------------------
> Jeremy Siek www: http://www.lsc.nd.edu/~jsiek/
> Ph.D. Candidate email: jsiek_at_[hidden]
> Univ. of Notre Dame work phone: (219) 631-3906
> ----------------------------------------------------------------------
>
>
>
> List-Unsubscribe: <mailto:boost-unsubscribe_at_[hidden]>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk