When writing template in template
It is possible to write template in template.
In that case, you can pass the "geho_<std :: vector>" class template directly to the template.
I put hoge_ in class geho_. It is typed in T template in geho_.
So you can pass it like the following.
Replace hoge_ with vector.
Since vector is "<class T, class Allocator = allocator <T > >"
It is possible to write like the above.
"My_::geho_<std::vector, char, std::allocator<char> >" I hate putting "char" 2 times in this
I will do as above.
It is possible to write it smartly.
Please login first in order for you to submit comments