Correct testcase use of typename to be inside a template
This commit is contained in:
parent
05397cf6a2
commit
335572170b
1 changed files with 3 additions and 3 deletions
|
|
@ -32,7 +32,7 @@ namespace Alloc {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
void other1(typename Alloc::template rebind<ListBucket<Val> >::other) {}
|
template<typename X> void other1(typename Alloc::template rebind<ListBucket<Val> >::other) {}
|
||||||
void other2(typename Alloc::template rebind< ::template ListBucket<Val> >::other) {}
|
template<typename X> void other2(typename Alloc::template rebind< ::template ListBucket<Val> >::other) {}
|
||||||
void other3(Alloc::template rebind<int>) {}
|
template<typename X> void other3(Alloc::template rebind<int>) {}
|
||||||
%}
|
%}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue