The following code causes this gcc error:
test.c: In member function `void Test2::Initialize()':
test.c:22: error: expected primary-expression before '>' token
test.c:22: error: expected primary-expression before ')' token
template
class Test1
{
public:
template
void TestMe()
{
Thanks! That works.
On Wed, Jun 18, 2008 at 8:15 PM, Andrew Pinski <[EMAIL PROTECTED]> wrote:
> On Wed, Jun 18, 2008 at 11:06 PM, Andrew McPherson
> <[EMAIL PROTECTED]> wrote:
>> // Neither of the following compile, though they do in visual studio.
>>
// Neither of the following compile, though they do in visual studio.
template
struct MyStruct
{
MyStruct()
{
std::vector::iterator i;
}
};
template
struct MyStruct1
{
MyStruct1()
{
std::vector*>::iterator i;