b_inverse.cpp

来自「C++的一个好库。。。现在很流行」· C++ 代码 · 共 23 行

CPP
23
字号
//  Copyright (c) 2003 Vladimir Prus
//
//  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)
//
//  http://www.boost.org
// 

// This file will declare 'foo' is 'MACROS' is NOT defined.

#ifndef MACROS
void
# ifdef _WIN32
__declspec(dllexport)
# endif 
foo() {}
#endif

# ifdef _WIN32
int __declspec(dllexport) force_implib_creation;
# endif 

⌨️ 快捷键说明

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