/*============================================================================= Copyright (c) 2011-2014 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprout Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) =============================================================================*/ #ifndef SPROUT_COMPLEX_CONTAINER_HPP #define SPROUT_COMPLEX_CONTAINER_HPP #include #include #include #include namespace sprout { // // container_construct_traits // template struct container_construct_traits > { public: typedef sprout::complex copied_type; public: template static SPROUT_CONSTEXPR copied_type deep_copy(Cont&& cont) { return SPROUT_FORWARD(Cont, cont); } template static SPROUT_CONSTEXPR copied_type make(Args&&... args) { return copied_type(SPROUT_FORWARD(Args, args)...); } template static SPROUT_CONSTEXPR copied_type remake(Cont&&, typename sprout::container_traits >::difference_type, Args&&... args) { return copied_type(SPROUT_FORWARD(Args, args)...); } }; } // namespace sprout #endif // #ifndef SPROUT_COMPLEX_CONTAINER_HPP