The compiler doesn't protest when I use this typedef as a function argument (it's not shown here) but it doesn't accept it as a return value.
Apparently there is a problem with returning a typedef from a member function. Is it generally forbidden or maybe I made a mistake here somewhere? I tried adding 'typename' to the typedef declaration but the effects are the same.
Appreciate any help.