I\'m having difficulty understanding why there is a difference in the following two pieces of code, what exactly is the compiler doing.
I have the following bit of t
In the second version, booboo is a dependent name, so it is not automatically visible in the template. You can either add using typename base::booboo; to the derived class, or use your typedef solution, or say typename base::booboo bb = T(1);.
booboo
using typename base::booboo;
typename base::booboo bb = T(1);