Sprout/sprout/container/rebind_size.hpp

20 lines
600 B
C++

#ifndef SPROUT_CONTAINER_REBIND_SIZE_HPP
#define SPROUT_CONTAINER_REBIND_SIZE_HPP
#include <sprout/config.hpp>
#include <sprout/container/container_transform_traits.hpp>
namespace sprout {
namespace containers {
//
// rebind_size
//
template<typename Container, typename sprout::container_traits<Container>::size_type Size>
struct rebind_size {
public:
typedef typename sprout::container_transform_traits<Container>::template rebind_size<Size>::type type;
};
} // namespace containers
} // namespace sprout
#endif // #ifndef SPROUT_CONTAINER_REBIND_SIZE_HPP