forked from OSchip/llvm-project
Make typedefs in ilist public (Visual C++ errors out when they are private).
llvm-svn: 53431
This commit is contained in:
parent
c20893b026
commit
483300f96d
|
@ -83,10 +83,11 @@ struct ilist_traits<const Ty> : public ilist_traits<Ty> {};
|
|||
template<typename NodeTy>
|
||||
class ilist_iterator
|
||||
: public bidirectional_iterator<NodeTy, ptrdiff_t> {
|
||||
|
||||
public:
|
||||
typedef ilist_traits<NodeTy> Traits;
|
||||
typedef bidirectional_iterator<NodeTy, ptrdiff_t> super;
|
||||
|
||||
public:
|
||||
typedef size_t size_type;
|
||||
typedef typename super::pointer pointer;
|
||||
typedef typename super::reference reference;
|
||||
|
|
Loading…
Reference in New Issue