mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
add rebind_type container metafunction
This commit is contained in:
parent
802f2fbaed
commit
dd58135a93
7 changed files with 174 additions and 0 deletions
|
@ -95,6 +95,13 @@ namespace sprout {
|
|||
typename sprout::container_transform_traits<Container>::template rebind_size<Size>::type
|
||||
> type;
|
||||
};
|
||||
template<typename Type>
|
||||
struct rebind_type {
|
||||
public:
|
||||
typedef sprout::pit<
|
||||
typename sprout::container_transform_traits<Container>::template rebind_type<Type>::type
|
||||
> type;
|
||||
};
|
||||
};
|
||||
} // namespace sprout
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue