On Tue, 21 Jun 2005, Florian Weimer wrote:
* Mattias Karlsson:
Given:
void f(void)
{
template class A
{
};
}
g++ 4.0/3.4 gives:
bug.cpp:4: error: expected primary-expression before 'template'
Can a language lawer please confirm that this is even valid before I
create a PR?
It's n
* Mattias Karlsson:
> Given:
>
> void f(void)
> {
>template class A
>{
>};
> }
>
> g++ 4.0/3.4 gives:
> bug.cpp:4: error: expected primary-expression before 'template'
>
> Can a language lawer please confirm that this is even valid before I
> create a PR?
It's not valid (local templa
Given:
void f(void)
{
template class A
{
};
}
g++ 4.0/3.4 gives:
bug.cpp:4: error: expected primary-expression before 'template'
Can a language lawer please confirm that this is even valid before I
create a PR?