#include <vector>
#include <list>
#include <string>
template <template<typename T,typename alloc = std::allocator<T> > class Container>
Container<std::string> func(const std::string& s){
Container<std::string> ret;
ret.push_back(s);
return ret;
}
int main(void){
func<std::vector>("vector");
func<std::list>("list");
return 0;
}
I2luY2x1ZGUgPHZlY3Rvcj4KI2luY2x1ZGUgPGxpc3Q+CiNpbmNsdWRlIDxzdHJpbmc+Cgp0ZW1wbGF0ZSA8dGVtcGxhdGU8dHlwZW5hbWUgVCx0eXBlbmFtZSBhbGxvYyA9IHN0ZDo6YWxsb2NhdG9yPFQ+ID4gY2xhc3MgQ29udGFpbmVyPgpDb250YWluZXI8c3RkOjpzdHJpbmc+IGZ1bmMoY29uc3Qgc3RkOjpzdHJpbmcmIHMpewoJQ29udGFpbmVyPHN0ZDo6c3RyaW5nPiByZXQ7CglyZXQucHVzaF9iYWNrKHMpOwoJcmV0dXJuIHJldDsKfQoKaW50IG1haW4odm9pZCl7CglmdW5jPHN0ZDo6dmVjdG9yPigidmVjdG9yIik7CglmdW5jPHN0ZDo6bGlzdD4oImxpc3QiKTsKCXJldHVybiAwOwp9