1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2024-11-12 21:09:01 +00:00
Sprout/sprout/fixed_container/make_clone.hpp

18 lines
558 B
C++
Raw Normal View History

2011-09-03 13:26:26 +00:00
#ifndef SPROUT_FIXED_CONTAINER_MAKE_CLONE_HPP
#define SPROUT_FIXED_CONTAINER_MAKE_CLONE_HPP
#include <sprout/config.hpp>
#include <sprout/fixed_container/traits.hpp>
namespace sprout {
//
// make_clone
//
template<typename Container, typename... Args>
SPROUT_CONSTEXPR inline typename sprout::fixed_container_traits<Container>::clone_type make_clone(Args const&... args) {
return sprout::make_clone_functor<Container>().template operator()(args...);
}
} // namespace sprout
#endif // #ifndef SPROUT_FIXED_CONTAINER_MAKE_CLONE_HPP