------- Comment #4 from mr dot chr dot schmidt at online dot de  2010-08-05 
21:14 -------
A workaround is to wrap the faulting template instantiation in a thin wrapper:


typename detail::forward_as_lref<
  Seq
, typename detail::remove_reference<Seq>::type::seq_type
>::type


... does not work, whereas ...


template<typename TestType,typename Type>
struct forward_as_gcc_helper
: detail::forward_as_lref<TestType, Type>
{};

typename forward_as_gcc_helper<
  Seq
, typename detail::remove_reference<Seq>::type::seq_type
>::type


... compiles fine.


-- 


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

Reply via email to