|
Boost : |
From: rogeeff (rogeeff_at_[hidden])
Date: 2001-12-18 12:45:24
--- In boost_at_y..., "Fernando Cacciola" <fcacciola_at_g...> wrote:
>
> > [SNIPPED]
> >
>
> Just a couple of things regarding non-type template parameters and
Borland
> C++ 5.5.1
>
> As it does a very poor job handling that, I suggest:
>
> Provide: ct_if<BoolAsType,F,T> and use THIS as much as possible.
>
> Similarly: make mpl::at<L,N> the basic primitive used thoroughly.
>
> Provide mpl::atv<> and ct_ifv<> but deprecate them and try to avoid
them as
> much as possible.
>
> The same rationale goes for every 'non-type' metafunction.
>
> Fernando Cacciola
> Sierra s.r.l.
> fcacciola_at_g...
> www.gosierra.com
The SunPro C++ 5.3 does not support ANY *expression* with non-type
parameters. I do not know is it applicable, but ... just keep in mind.
Regards,
Gennadiy.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk