enable_warnings.hpp
来自「Boost provides free peer-reviewed portab」· HPP 代码 · 共 29 行
HPP
29 行
// (C) Copyright Gennadiy Rozental 2004-2008.// 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)// See http://www.boost.org/libs/test for the library home page.//// File : $RCSfile$//// Version : $Revision: 49312 $//// Description : enable previosly suppressed warnings// ***************************************************************************#ifdef BOOST_MSVC# pragma warning(default: 4511) // copy constructor could not be generated# pragma warning(default: 4512) // assignment operator could not be generated# pragma warning(default: 4100) // unreferenced formal parameter # pragma warning(default: 4996) // <symbol> was declared deprecated # pragma warning(default: 4355) // 'this' : used in base member initializer list# pragma warning(default: 4706) // assignment within conditional expression# pragma warning(default: 4251) // class 'A<T>' needs to have dll-interface to be used by clients of class 'B'# pragma warning(default: 4127) // conditional expression is constant# pragma warning(default: 4290) // C++ exception specification ignored except to ...# pragma warning(default: 4180) // qualifier applied to function type has no meaning; ignored# pragma warning(default: 4275) // non dll-interface class ... used as base for dll-interface class ...# pragma warning(pop)#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?