Let\'s say I have the following piece of code (a simple CRTP class hierarchy). I want to typedef the base class type to save myself typing (in my actual code, I use the base
I believe that this is not possible with C++03, but was added to C++11 in which you can simply omit the class keyword:
class
friend BaseType;