Update "are_elements_contiguous" for move iterators.

This commit is contained in:
Ion Gaztañaga
2015-02-26 00:15:23 +01:00
parent f47bf08ccc
commit 5ea8e24923

View File

@@ -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
/////////////////////////