/usr/include/boost/spirit/home/classic/core/composite/impl
NameSizeModeActions
alternative.ipp27520644editdlrm
difference.ipp27310644editdlrm
directives.ipp67380644editdlrm
exclusive_or.ipp27730644editdlrm
intersection.ipp27730644editdlrm
kleene_star.ipp10930644editdlrm
list.ipp29080644editdlrm
optional.ipp10710644editdlrm
positive.ipp10780644editdlrm
sequence.ipp27020644editdlrm
sequential_and.ipp27240644editdlrm
sequential_or.ipp28030644editdlrm
Edit: /usr/include/boost/spirit/home/classic/core/composite/impl/alternative.ipp (2752B)
/*============================================================================= Copyright (c) 1998-2003 Joel de Guzman Copyright (c) 2001 Daniel Nuffer Copyright (c) 2002 Hartmut Kaiser http://spirit.sourceforge.net/ Use, modification and distribution is subject to 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) =============================================================================*/ #if !defined(BOOST_SPIRIT_ALTERNATIVE_IPP) #define BOOST_SPIRIT_ALTERNATIVE_IPP namespace boost { namespace spirit { BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN /////////////////////////////////////////////////////////////////////////// // // alternative class implementation // /////////////////////////////////////////////////////////////////////////// template inline alternative operator|(parser const& a, parser const& b) { return alternative(a.derived(), b.derived()); } template inline alternative > operator|(parser const& a, char b) { return alternative >(a.derived(), b); } template inline alternative, B> operator|(char a, parser const& b) { return alternative, B>(a, b.derived()); } template inline alternative > operator|(parser const& a, char const* b) { return alternative >(a.derived(), b); } template inline alternative, B> operator|(char const* a, parser const& b) { return alternative, B>(a, b.derived()); } template inline alternative > operator|(parser const& a, wchar_t b) { return alternative >(a.derived(), b); } template inline alternative, B> operator|(wchar_t a, parser const& b) { return alternative, B>(a, b.derived()); } template inline alternative > operator|(parser const& a, wchar_t const* b) { return alternative >(a.derived(), b); } template inline alternative, B> operator|(wchar_t const* a, parser const& b) { return alternative, B>(a, b.derived()); } BOOST_SPIRIT_CLASSIC_NAMESPACE_END }} // namespace boost::spirit #endif