www.digitalmars.com         C & C++   DMDScript  

c++.beta - > operator in template parameter, bug?

this source is simpled one:
template<
      typename T1
    , typename T2
    , bool choose1 = (sizeof(T1) > sizeof(T2))
    >
struct choose_larger
{
    typedef T1 type;
};

cause internal error: type 149
Jul 25 2003