/*============================================================================= 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_TPP_ALGORITHM_MAX_ELEMENT_HPP #define SPROUT_TPP_ALGORITHM_MAX_ELEMENT_HPP #include #include #include namespace sprout { namespace tpp { namespace detail { template struct max_element_impl; template struct max_element_impl : public sprout::integral_constant {}; template struct max_element_impl : public sprout::integral_constant {}; template struct max_element_impl : public sprout::tpp::detail::max_element_impl::value, Tail...> {}; } // namespace detail // // max_element_c // template struct max_element_c : public sprout::tpp::detail::max_element_impl {}; // // max_element // template struct max_element : public sprout::tpp::max_element_c::type, Types::value...> {}; } // namespace tpp } // namespace sprout #endif // #ifndef SPROUT_TPP_ALGORITHM_MAX_ELEMENT_HPP