Boost logo

Boost :

From: Victor A. Wagner, Jr. (vawjr_at_[hidden])
Date: 2002-10-25 05:47:58


At Thursday 2002/10/24 15:09, you wrote:

>----- Original Message -----
>From: "Paul A. Bristow" <boost_at_[hidden]>
>To: "Boost mailing list" <boost_at_[hidden]>
>Sent: Thursday, October 24, 2002 5:53 PM
>Subject: RE: [boost] two_pi or pi_twice?
>
>
> > I thought I might get a Boost about this :-( - but do you have any other
> > suggestion for how to provide an alias without duplicating code (may be
>const
> > double pi and/or a double pi() function so not so simple?
> >
> > Paul
> >
>Not really
>
>A reference is the closer we can get to an identifier alias, AFAICT, but it
>won't work here I think (though I should look at the exact code).
>
>It's a pity we don't have true identifier aliases in C++. We have typename
>and namespace aliases, but none for identifiers.

while we're wishing, can I toss in one for base-class aliases?

>Fernando Cacciola
>
>
>_______________________________________________
>Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Victor A. Wagner Jr. http://rudbek.com
PGP RSA fingerprint = 4D20 EBF6 0101 B069 3817 8DBF C846 E47A
PGP D-H fingerprint = 98BC 65E3 1A19 43EC 3908 65B9 F755 E6F4 63BB 9D93
The five most dangerous words in the English language:
               "There oughta be a law"


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