#include <vector>
template<typename T, template <typename, typename> class Container>
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
class MyMultibyteString
{
Container<T, std::allocator<T>> buffer;
// ...
};
int main()
{
MyMultibyteString<char, std::vector> mbs;
}
I2luY2x1ZGUgPHZlY3Rvcj4KCnRlbXBsYXRlPHR5cGVuYW1lIFQsIHRlbXBsYXRlIDx0eXBlbmFtZSwgdHlwZW5hbWU+IGNsYXNzIENvbnRhaW5lcj4KLy8gICAgICAgICAgICAgICAgICAgXl5eXl5eXl5eXl5eXl5eXl5eXl5eXl5eXl5eXl5eXl5eXl4KY2xhc3MgTXlNdWx0aWJ5dGVTdHJpbmcKewogICAgQ29udGFpbmVyPFQsIHN0ZDo6YWxsb2NhdG9yPFQ+PiBidWZmZXI7CiAgICAvLyAuLi4KfTsKCmludCBtYWluKCkKewogICAgTXlNdWx0aWJ5dGVTdHJpbmc8Y2hhciwgc3RkOjp2ZWN0b3I+IG1iczsKfQo=