add rebind_type container metafunction

This commit is contained in:
bolero-MURAKAMI 2016-04-02 19:55:55 +09:00
parent 802f2fbaed
commit dd58135a93
7 changed files with 174 additions and 0 deletions

View file

@ -52,6 +52,11 @@ namespace sprout {
public:
typedef sprout::basic_string<T, Size, Traits> type;
};
template<typename Type>
struct rebind_type {
public:
typedef sprout::basic_string<Type, N, Traits> type;
};
};
} // namespace sprout