------- Comment #15 from pinskia at gcc dot gnu dot org  2006-11-08 09:51 
-------
Another testcase, this one from some other code that uses boost:
template< typename T> struct has_begin {static const bool value =0;};
template<bool a> struct sequence_tag_impl{};
template< typename Sequence>
struct sequence_tag  : sequence_tag_impl<has_begin<Sequence>::value >{};
template<typename T>struct lambda{};
template<template< typename P1 > class F, typename T1 >struct lambda<F< T1 >
>{};
template< typename Tag >struct size_impl;
template<typename Tag, long Arity = size_impl< typename sequence_tag<Tag>::type
>::value>
    struct basic_expr{};
int main()
{
     lambda<basic_expr<short, 2> > a;
}


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28088

Reply via email to