1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

[desuructive changes] container traits new interface [破壊的変更]

This commit is contained in:
bolero-MURAKAMI 2012-03-31 16:24:13 +09:00
parent 52a2178ac1
commit ad60c8c530
356 changed files with 3183 additions and 3251 deletions

18
sprout/container/make.hpp Normal file
View file

@ -0,0 +1,18 @@
#ifndef SPROUT_CONTAINER_MAKE_HPP
#define SPROUT_CONTAINER_MAKE_HPP
#include <sprout/config.hpp>
#include <sprout/container/container_construct_traits.hpp>
#include <sprout/utility/forward.hpp>
namespace sprout {
//
// make
//
template<typename Container, typename... Args>
SPROUT_CONSTEXPR inline typename sprout::container_construct_traits<Container>::copied_type make(Args&&... args) {
return sprout::container_construct_traits<Container>::make(sprout::forward<Args>(args)...);
}
} // namespace sprout
#endif // #ifndef SPROUT_CONTAINER_MAKE_HPP