Fix Error C4596: 'difference_type': illegal qualified name in member declaration when compiling with VS 2017 Professional 15.5.6

This commit is contained in:
Nathan Cook
2018-02-28 10:55:24 +00:00
parent 2aaa802e6a
commit 795046f8fc

View File

@ -252,7 +252,7 @@ namespace boost {
n = i - j;
}
private:
BOOST_DEDUCED_TYPENAME RandomAccessIteratorConcept::difference_type n;
BOOST_DEDUCED_TYPENAME difference_type n;
Iterator i;
Iterator j;
#endif