diff --git a/include/boost/regex/v4/iterator_category.hpp b/include/boost/regex/v4/iterator_category.hpp index 23cf5e43..1ed72c5e 100644 --- a/include/boost/regex/v4/iterator_category.hpp +++ b/include/boost/regex/v4/iterator_category.hpp @@ -80,6 +80,11 @@ public: BOOST_STATIC_CONSTANT(bool, value = answer::value); }; +#ifndef BOOST_NO_INCLASS_MEMBER_INITIALIZATION +template +bool is_random_access_iterator::value; +#endif + } #endif