This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/34219] gcc doesn't accept const members of variadic templates as const



------- Comment #3 from rbuergel at web dot de  2008-01-19 22:38 -------
another testcase:

template<template<typename... T> class Comp, typename... T> void f( T... Value)
{
  static_assert( Comp<T>::value > 0, "" );
}

template <typename... T>
struct Foo
{
        static const int value=1;
};

int main()
{
        f<Foo>( 2 );
}


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]