mirror of
https://github.com/boostorg/intrusive.git
synced 2025-08-03 06:24:44 +02:00
Make some typedefs private instead of protected (these iterators are not designed to be base classes).
This commit is contained in:
@@ -34,7 +34,7 @@ namespace intrusive {
|
|||||||
template<class ValueTraits, bool IsConst>
|
template<class ValueTraits, bool IsConst>
|
||||||
class list_iterator
|
class list_iterator
|
||||||
{
|
{
|
||||||
protected:
|
private:
|
||||||
typedef iiterator
|
typedef iiterator
|
||||||
<ValueTraits, IsConst, std::bidirectional_iterator_tag> types_t;
|
<ValueTraits, IsConst, std::bidirectional_iterator_tag> types_t;
|
||||||
|
|
||||||
|
@@ -36,7 +36,7 @@ namespace intrusive {
|
|||||||
template<class ValueTraits, bool IsConst>
|
template<class ValueTraits, bool IsConst>
|
||||||
class slist_iterator
|
class slist_iterator
|
||||||
{
|
{
|
||||||
protected:
|
private:
|
||||||
typedef iiterator
|
typedef iiterator
|
||||||
<ValueTraits, IsConst, std::forward_iterator_tag> types_t;
|
<ValueTraits, IsConst, std::forward_iterator_tag> types_t;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user