mirror of
https://github.com/boostorg/container.git
synced 2025-08-02 05:54:28 +02:00
Forward declare correction vector iterator
This commit is contained in:
@@ -65,17 +65,15 @@ struct are_elements_contiguous< ::boost::move_iterator<It> >
|
|||||||
: are_elements_contiguous<It>
|
: are_elements_contiguous<It>
|
||||||
{};
|
{};
|
||||||
|
|
||||||
|
} //namespace dtl {
|
||||||
|
|
||||||
/////////////////////////
|
/////////////////////////
|
||||||
// predeclarations
|
// predeclarations
|
||||||
/////////////////////////
|
/////////////////////////
|
||||||
|
|
||||||
template<class Pointer>
|
template <class Pointer, bool IsConst>
|
||||||
class vector_iterator;
|
class vec_iterator;
|
||||||
|
|
||||||
template<class Pointer>
|
|
||||||
class vector_const_iterator;
|
|
||||||
|
|
||||||
} //namespace dtl {
|
|
||||||
} //namespace container {
|
} //namespace container {
|
||||||
|
|
||||||
namespace interprocess {
|
namespace interprocess {
|
||||||
@@ -93,14 +91,8 @@ namespace dtl {
|
|||||||
//vector_[const_]iterator
|
//vector_[const_]iterator
|
||||||
/////////////////////////
|
/////////////////////////
|
||||||
|
|
||||||
template<class Pointer>
|
template <class Pointer, bool IsConst>
|
||||||
struct are_elements_contiguous<boost::container::dtl::vector_iterator<Pointer> >
|
struct are_elements_contiguous<boost::container::vec_iterator<Pointer, IsConst> >
|
||||||
{
|
|
||||||
static const bool value = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
template<class Pointer>
|
|
||||||
struct are_elements_contiguous<boost::container::dtl::vector_const_iterator<Pointer> >
|
|
||||||
{
|
{
|
||||||
static const bool value = true;
|
static const bool value = true;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user