mirror of
https://github.com/boostorg/intrusive.git
synced 2025-08-02 05:54:38 +02:00
Add constant value to the main struct in BOOST_INTRUSIVE_OPTION_CONSTANT
This commit is contained in:
@@ -251,6 +251,8 @@ struct OPTION_NAME \
|
|||||||
template< TYPE VALUE> \
|
template< TYPE VALUE> \
|
||||||
struct OPTION_NAME \
|
struct OPTION_NAME \
|
||||||
{ \
|
{ \
|
||||||
|
static const TYPE value = VALUE; \
|
||||||
|
\
|
||||||
template<class Base> \
|
template<class Base> \
|
||||||
struct pack : Base \
|
struct pack : Base \
|
||||||
{ \
|
{ \
|
||||||
|
Reference in New Issue
Block a user