token_statistics.hpp

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

HPP
50
字号
/*=============================================================================    Boost.Wave: A Standard compliant C++ preprocessor library    Sample: Collect token statistics from the analysed files            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(TOKEN_STATISTICS_HPP)#define TOKEN_STATISTICS_HPP/////////////////////////////////////////////////////////////////////////////////  include often used files from the stdlib#include <iostream>#include <fstream>#include <string>#include <vector>/////////////////////////////////////////////////////////////////////////////////  include boost config#include <boost/config.hpp>     //  global configuration information#include <boost/assert.hpp>/////////////////////////////////////////////////////////////////////////////////  build version#include "token_statistics_version.hpp"/////////////////////////////////////////////////////////////////////////////////  Now 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)/////////////////////////////////////////////////////////////////////////////////  include required boost libraries#include <boost/pool/pool_alloc.hpp>#endif // !defined(TOKEN_STATISTICS_HPP)

⌨️ 快捷键说明

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