/*============================================================================= 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_TPP_ALGORITHM_NONE_OF_HPP #define SPROUT_TPP_ALGORITHM_NONE_OF_HPP #include #include #include #include #include namespace sprout { namespace tpp { namespace detail { template struct none_of_impl : public sprout::integral_constant::type::value> {}; template struct none_of_impl : public sprout::integral_constant< bool, sprout::tpp::detail::none_of_impl::value && sprout::tpp::detail::none_of_impl::value > {}; } // namespace detail // // none_of // template struct none_of : public sprout::tpp::detail::none_of_impl, 0, sizeof...(Types)> {}; template<> struct none_of<> : public sprout::true_type {}; // // none_of_c // template struct none_of_c : public sprout::tpp::none_of...> {}; } // namespace tpp } // namespace sprout #endif // #ifndef SPROUT_TPP_ALGORITHM_NONE_OF_HPP