[Bug c++/34219] gcc doesn't accept const members of variadic templates as const
rbuergel at web dot de
gcc-bugzilla@gcc.gnu.org
Sat Jan 19 22:52:00 GMT 2008
------- 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
More information about the Gcc-bugs
mailing list