You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
559 B
18 lines
559 B
4 months ago
|
namespace A {
|
||
|
inline
|
||
|
namespace __1 {
|
||
|
template <class _Tp> class allocator;
|
||
|
template <class _Tp, class _Alloc = allocator<_Tp>> class list;
|
||
|
template <class _VoidPtr> class __list_iterator {
|
||
|
//template <class> friend class list; // causes another crash in ASTDeclReader::attachPreviousDecl
|
||
|
template <class, class> friend class list;
|
||
|
};
|
||
|
template <class _Tp, class _Alloc> class __list_imp {};
|
||
|
template <class _Tp, class _Alloc> class list : __list_imp<_Tp, _Alloc> {
|
||
|
public:
|
||
|
list() {}
|
||
|
};
|
||
|
template <class _Tp> void f(list<_Tp>);
|
||
|
}
|
||
|
}
|