Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2003-04-11 16:02:41


Rozental, Gennadiy wrote:
> > This example, IMO, must fail. Passing a static const by reference
> > requires a definition. AFAICS mpl::int_<> does not provide one.
> > But I'm not up to date with the latest core issues.
>
> What would be the correct way?

'int_' (and other integral constant wrappers) needs to provide a definition
for its '::value' member for the
!defined(BOOST_NO_INCLASS_MEMBER_INITIALIZATION) case.

I will fix it in a few days.

Aleksey


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