Boost logo

Boost :

From: Hartmut Kaiser (hartmutkaiser_at_[hidden])
Date: 2003-04-30 09:05:23


Richard Hadsell wrote:

> Beman Dawes wrote:
>
> > * What if the committee changes the namespace?
> >
> > Hum... That could happen. Maybe we should use a macro to
> make it easy
> > to change.
>
> A macro would be ugly, unless it looked just like the namespace. Can
> you define a macro to make std::tr1 be equivalent to std::tr2?

Only with macro scopes as discussed recently on this list:

#region std
# define tr1 std::tr2
#endregion

namespace std::tr1 {} // expands to namespace std::tr2 {}

Regards Hartmut


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