or.hpp

来自「Boost provides free peer-reviewed portab」· HPP 代码 · 共 72 行

HPP
72
字号
// Copyright Aleksey Gurtovoy 2000-2004//// 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)//// Preprocessed version of "boost/mpl/or.hpp" header// -- DO NOT modify by hand!namespace boost { namespace mpl {namespace aux {template< bool C_ > struct or_impl{    template<          typename T1, typename T2, typename T3, typename T4        >    struct result_        : true_    {    };};template<> struct or_impl<false>{    template<          typename T1, typename T2, typename T3, typename T4        >    struct result_        : or_impl<              BOOST_MPL_AUX_NESTED_TYPE_WKND(T1)::value            >::template result_< T2,T3,T4,false_ >    {    };    template<> struct result_< false_,false_,false_,false_ >        : false_    {    };};} // namespace auxtemplate<      typename BOOST_MPL_AUX_NA_PARAM(T1)    , typename BOOST_MPL_AUX_NA_PARAM(T2)    , typename T3 = false_, typename T4 = false_, typename T5 = false_    >struct or_    : aux::or_impl<          BOOST_MPL_AUX_NESTED_TYPE_WKND(T1)::value        >::template result_< T2,T3,T4,T5 >{    BOOST_MPL_AUX_LAMBDA_SUPPORT(          5        , or_        , ( T1, T2, T3, T4, T5)        )};BOOST_MPL_AUX_NA_SPEC2(      2    , 5    , or_    )}}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?