2 // Source: Neil Booth, from PR # 106. 4 Dec 2000.
4 template <bool b> class bar
11 static const bool b = true;
17 static const bool b = false;
20 template <class A, class B> class foo
24 template <class A, class B>
25 bar<(A::b || B::b)> do_funky(const foo<A, B>&);
29 bar<true> a_bar = do_funky(foo<A_a, B_b>());