mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2024-12-23 21:25:49 +00:00
17 lines
558 B
C++
17 lines
558 B
C++
#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
|