what_s_new.qbk
来自「Boost provides free peer-reviewed portab」· QBK 代码 · 共 46 行
QBK
46 行
[/============================================================================== Copyright (C) 2001-2008 Joel de Guzman Copyright (C) 2001-2008 Hartmut Kaiser 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)===============================================================================/][section What's New][heading Spirit Classic]The Spirit V1.8.x code base has been integrated with Spirit V2. It is now called__classic__. Even if the directory structure has changed (the Spirit Classicheaders are now moved to the '''$BOOST_ROOT/boost/spirit/home/classic''' directory),we created forwarding headers allowing to compile existing applications withoutany change. These forwarding headers are deprecated, though, which will resultin corresponding warnings generated for each of the headers starting with BoostV1.38. The forwarding headers are expected to be removed in the future.The recommended way of using Spirit Classic now is to include header files fromthe directory '''$BOOST_ROOT/boost/spirit/include'''. All files of Spirit Classicin this directory have a 'classic_' prefixed to their name. For example theinclude #include <boost/spirit/core/core.hpp>now should be written as: #include <boost/spirit/include/classic_core.hpp>To avoid namespace conflicts with the new Spirit V2 library we moved Spirit Classicinto the namespace `boost::spirit::classic`. All references to the formernamespace `boost::spirit` need to be adjusted as soon as the header names arecorrected as described above. As an alternative you can define the preprocessorconstant `BOOST_SPIRIT_USE_OLD_NAMESPACE`, which will force the Spirit Classiccode to be in the namespace `boost::spirit` as before. This is not recommended,though, as it may result in naming clashes.The change of the namespace will be automatically deactivated whenever thedeprecated include files are being used. This ensures full backwardscompatibility for existing applications.[endsect]
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?