/*============================================================================= Copyright (c) 2011-2013 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_ALGORITHM_FIXED_RESULT_OF_HPP #define SPROUT_ALGORITHM_FIXED_RESULT_OF_HPP #include #include #include #include namespace sprout { namespace fixed { namespace result_of { // // algorithm // template struct algorithm { public: typedef typename sprout::container_construct_traits::copied_type type; }; // // shuffle // template struct shuffle { public: typedef sprout::pair< typename sprout::fixed::result_of::algorithm::type, typename std::decay::type > type; }; } // namespace result_of } // namespace fixed namespace result_of { using sprout::fixed::result_of::algorithm; using sprout::fixed::result_of::shuffle; } // namespace result_of } // namespace sprout #endif // #ifndef SPROUT_ALGORITHM_FIXED_RESULT_OF_HPP