Testcase workaround for Solaris

This commit is contained in:
William S Fulton 2015-07-05 17:15:55 +01:00
parent af5906f915
commit fea1bbb188
1 changed files with 4 additions and 0 deletions

View File

@ -33,6 +33,10 @@ namespace Alloc {
} }
template<typename X> void other1(typename Alloc::template rebind<ListBucket<Val> >::other) {} template<typename X> void other1(typename Alloc::template rebind<ListBucket<Val> >::other) {}
#if !defined(__SUNPRO_CC)
template<typename X> void other2(typename Alloc::template rebind< ::template ListBucket<Val> >::other) {} template<typename X> void other2(typename Alloc::template rebind< ::template ListBucket<Val> >::other) {}
#else
template<typename X> void other2(typename Alloc::template rebind< :: ListBucket<Val> >::other) {}
#endif
template<typename X> void other3(Alloc::template rebind<int>) {} template<typename X> void other3(Alloc::template rebind<int>) {}
%} %}