I'm trying to scope to the generic type of a template, like this:
template<typename T> void doSomething(T::SomeScopedType t) {...}
However, this leads to the compiler errors:
variable or field ‘doSomething’ declared void
expected ‘)’ before ‘t'
Is it possible to scope a generic type?