|
|
|||
File indexing completed on 2025-12-15 10:08:38
0001 /*============================================================================= 0002 Copyright (c) 2001-2008 Joel de Guzman 0003 Copyright (c) 2001-2008 Hartmut Kaiser 0004 http://spirit.sourceforge.net/ 0005 0006 Distributed under the Boost Software License, Version 1.0. (See accompanying 0007 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 0008 =============================================================================*/ 0009 #ifndef BOOST_SPIRIT_CLASSIC_NAMESPACE_HPP 0010 #define BOOST_SPIRIT_CLASSIC_NAMESPACE_HPP 0011 0012 #if defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) 0013 0014 // Use the old namespace for Spirit.Classic, everything is located in the 0015 // namespace boost::spirit. 0016 // This is in place for backwards compatibility with Spirit V1.8.x. Don't use 0017 // it when combining Spirit.Classic with other parts of the library 0018 0019 #define BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN /*namespace classic {*/ 0020 #define BOOST_SPIRIT_CLASSIC_NS boost::spirit/*::classic*/ 0021 #define BOOST_SPIRIT_CLASSIC_NAMESPACE_END /*}*/ 0022 0023 #else 0024 0025 // This is the normal (and suggested) mode of operation when using 0026 // Spirit.Classic. Everything will be located in the namespace 0027 // boost::spirit::classic, avoiding name clashes with other parts of Spirit. 0028 0029 #define BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN namespace classic { 0030 #define BOOST_SPIRIT_CLASSIC_NS boost::spirit::classic 0031 #define BOOST_SPIRIT_CLASSIC_NAMESPACE_END } 0032 0033 #endif 0034 0035 #endif
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|