Boost logo

Boost :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2002-09-18 06:05:32


Anthony Williams wrote:
>
> Markus Schöpflin writes:
> > Aha, thanks. But does the word "may" in 14.5.1.3 refer to the definition
> > of the static data member or does it refer to where the definition is
> > allowed to live?
> >
> > In other words, do I _have_ to provide a definition or is the definition
> > itself optional?
>
> You have to provide the definition (though there are moves to make it optional
> where the initializer is provided in-class)
>
> Anthony
>

I think we have a problem with BOOST_STATIC_CONSTANT() then as it
provides no definition (just the declaration) for the static
constant if the macro BOOST_NO_INCLASS_MEMBER_INITIALIZATION is
not defined.

Markus


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