forked from boostorg/container
Define nat in iterators to allow explicit instantiation of iterators.
This commit is contained in:
1 parent
da21340323
commit
8dfaee7434
2 files changed
+17
-6
No files matched your search
@@ -96,7 +96,13 @@ class vec_iterator
|
||||
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
||||
private:
|
||||
Pointer m_ptr;
|
||||
class nat;
|
||||
|
||||
class nat
|
||||
{
|
||||
public:
|
||||
Pointer get_ptr() const
|
||||
{ return Pointer(); }
|
||||
};
|
||||
typedef typename dtl::if_c< IsConst
|
||||
, vec_iterator<Pointer, false>
|
||||
, nat>::type nonconst_iterator;
|
||||
|
||||
Reference in new issue
Block a user