Update "are_elements_contiguous" for move iterators.

This commit is contained in:
Ion Gaztañaga committed 2015-02-26 00:15:23 +01:00
1 parent f47bf08ccc
commit 5ea8e24923
1 file changed
+9
@@ -54,6 +54,15 @@ struct are_elements_contiguous<T*>
static const bool value = true;
};
/////////////////////////
// move iterators
/////////////////////////
template<class It>
struct are_elements_contiguous< ::boost::move_iterator<It> >
: are_elements_contiguous<It>
{};
/////////////////////////
// predeclarations
/////////////////////////