$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: David Abrahams (dave_at_[hidden])
Date: 2004-01-27 08:01:22
Matthias Troyer <troyer_at_[hidden]> writes:
> Dear Daniel,
>
> If you use BOOST_STATIC_CONSTANT you need to additionally provide a
> definition on conforming compilers. The correct usage is like in:
>
> // declaration
> class A {
> BOOST_STATIC_CONSTANT(int , x=1);
> };
>
> ....
>
> //definition
> #ifndef BOOST_NO_INCLASS_MEMBER_INITIALIZATION
> int A::x;
> #endif
>
>
> I hope that clarifies this issue,
Another approach is to use mpl::int_<n> or integral_c<T,n> which
supply the definitions themselves.
-- Dave Abrahams Boost Consulting www.boost-consulting.com