mirror of
https://github.com/boostorg/utility.git
synced 2025-05-08 18:34:02 +00:00
add definition for integral constants initialized in-class
[SVN r11723]
This commit is contained in:
parent
87abc59612
commit
404261c6ee
@ -75,6 +75,12 @@ protected:
|
||||
|
||||
}; // 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*>
|
||||
class test_opr
|
||||
: public test_opr_base
|
||||
|
Loading…
x
Reference in New Issue
Block a user