Alexander Nasonov's shared items

Monday, August 21, 2006

Blogger.com doesn't like C++ template code

I found out that most code snipsets of my Overload articles posted here are not correct.

For example,

template
struct Mixin : T {
~Mixin();
};

but it should be

template<class T>
struct Mixin : T {
~Mixin();
};


I'll try to correct it.

0 comments:

Blog Archive

About Me

Alexander Nasonov
View my complete profile