cpp_tokens_config.hpp

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

HPP
56
字号
/*=============================================================================    Boost.Wave: A Standard compliant C++ preprocessor library    Sample: Print out the preprocessed tokens returned by the Wave iterator            Configuration data            http://www.boost.org/    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)=============================================================================*/#if !defined(CPP_TOKENS_HPP_7C0F1F14_6ACA_4439_A073_32C61C0DB6C5_INCLUDED)#define CPP_TOKENS_HPP_7C0F1F14_6ACA_4439_A073_32C61C0DB6C5_INCLUDED/////////////////////////////////////////////////////////////////////////////////  Uncomment the following, if you need debug output, the //  BOOST_SPIRIT_DEBUG_FLAGS constants below help to fine control the amount of //  the generated debug output//#define BOOST_SPIRIT_DEBUG#if defined(BOOST_SPIRIT_DEBUG)/////////////////////////////////////////////////////////////////////////////////  debug flags for the pp-iterator library, possible flags (defined in //  wave_config.hpp):////  #define BOOST_SPIRIT_DEBUG_FLAGS_CPP_GRAMMAR            0x0001//  #define BOOST_SPIRIT_DEBUG_FLAGS_TIME_CONVERSION        0x0002//  #define BOOST_SPIRIT_DEBUG_FLAGS_CPP_EXPR_GRAMMAR       0x0004//  #define BOOST_SPIRIT_DEBUG_FLAGS_INTLIT_GRAMMAR         0x0008//  #define BOOST_SPIRIT_DEBUG_FLAGS_CHLIT_GRAMMAR          0x0010//  #define BOOST_SPIRIT_DEBUG_FLAGS_DEFINED_GRAMMAR        0x0020//  #define BOOST_SPIRIT_DEBUG_FLAGS_PREDEF_MACROS_GRAMMAR  0x0040#define BOOST_SPIRIT_DEBUG_FLAGS_CPP (\        /* insert the required flags from above */ \    ) \    /**/#endif /////////////////////////////////////////////////////////////////////////////////  Include the configuration stuff for the Wave library itself#include <boost/wave/wave_config.hpp>/////////////////////////////////////////////////////////////////////////////////  MSVC specific #pragma's#if defined(BOOST_MSVC)#pragma warning (disable: 4355) // 'this' used in base member initializer list#pragma warning (disable: 4800) // forcing value to bool 'true' or 'false'#pragma inline_depth(255)#pragma inline_recursion(on)#endif // defined(BOOST_MSVC)#endif // !defined(CPP_TOKENS_HPP_7C0F1F14_6ACA_4439_A073_32C61C0DB6C5_INCLUDED)

⌨️ 快捷键说明

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