mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
algorithm, operation 全面修正
This commit is contained in:
parent
21f5d5191a
commit
5e67195030
244 changed files with 4764 additions and 831 deletions
17
sprout/fixed_container/make_clone.hpp
Normal file
17
sprout/fixed_container/make_clone.hpp
Normal file
|
@ -0,0 +1,17 @@
|
|||
#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
|
Loading…
Add table
Add a link
Reference in a new issue