[boost][range] correct lifetime defect in the tokenized range adapter

[SVN r85697]
This commit is contained in:
Neil Groves
2013-09-16 10:10:12 +00:00
parent 0addcfadeb
commit 2285f909f6

4
include/boost/range/adaptor/tokenized.hpp Executable file → Normal file
View File

@ -52,8 +52,8 @@ namespace boost
template< class T, class U, class V >
struct regex_holder
{
const T& re;
const U& sub;
T re;
U sub;
V f;
regex_holder( const T& rex, const U& subm, V flag ) :