mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2024-11-12 21:09:01 +00:00
18 lines
558 B
C++
18 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
|