templateで学ぶやる気のないclosure
template<typename T>
struct Foo {
template<typename>
struct Bar {
typedef T type; // Barの外側の環境にあるTを保持している
};
};
template<typename T>
struct Foo {
template<typename>
struct Bar {
typedef T type; // Barの外側の環境にあるTを保持している
};
};