mirror of
https://github.com/boostorg/utility.git
synced 2025-07-30 04:47:30 +02:00
add definition for integral constants initialized in-class
[SVN r11723]
This commit is contained in:
@ -75,6 +75,12 @@ protected:
|
|||||||
|
|
||||||
}; // test_opr_base
|
}; // test_opr_base
|
||||||
|
|
||||||
|
#ifndef BOOST_NO_INCLASS_MEMBER_INITIALIZATION
|
||||||
|
// A definition is required even for integral static constants
|
||||||
|
const std::size_t test_opr_base::fruit_length;
|
||||||
|
const std::size_t test_opr_base::scratch_length;
|
||||||
|
#endif
|
||||||
|
|
||||||
template <typename T, typename R = T&, typename P = T*>
|
template <typename T, typename R = T&, typename P = T*>
|
||||||
class test_opr
|
class test_opr
|
||||||
: public test_opr_base
|
: public test_opr_base
|
||||||
|
Reference in New Issue
Block a user