⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 t_1_007.cpp

📁 Boost provides free peer-reviewed portable C++ source libraries. We emphasize libraries that work
💻 CPP
字号:
/*=============================================================================    Boost.Wave: A Standard compliant C++ preprocessor library    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)=============================================================================*///O --variadics// Tests the correctness of parameter replacement, if the parameter is// adjacent to an operator '##'.#define CONCAT(a, b) PRIMITIVE_CONCAT(a, b)#define PRIMITIVE_CONCAT(a, b) a ## b//R #line 20 "t_1_007.cpp"//R 123CONCAT(1, PRIMITIVE_CONCAT(2, 3))//R #line 23 "t_1_007.cpp"//R 123CONCAT(1, CONCAT(2, 3))//R #line 26 "t_1_007.cpp"//R 1 CONCAT(2, 3)PRIMITIVE_CONCAT(1, CONCAT(2, 3))//H 10: t_1_007.cpp(15): #define//H 08: t_1_007.cpp(15): CONCAT(a, b)=PRIMITIVE_CONCAT(a, b)//H 10: t_1_007.cpp(16): #define//H 08: t_1_007.cpp(16): PRIMITIVE_CONCAT(a, b)=a ## b//H 00: t_1_007.cpp(20): CONCAT(1, PRIMITIVE_CONCAT(2, 3)), [t_1_007.cpp(15): CONCAT(a, b)=PRIMITIVE_CONCAT(a, b)]//H 00: t_1_007.cpp(20): PRIMITIVE_CONCAT(2, 3), [t_1_007.cpp(16): PRIMITIVE_CONCAT(a, b)=a ## b]//H 02: 23//H 03: 23//H 02: PRIMITIVE_CONCAT(1, 23)//H 00: t_1_007.cpp(15): PRIMITIVE_CONCAT(1, 23), [t_1_007.cpp(16): PRIMITIVE_CONCAT(a, b)=a ## b]//H 02: 123//H 03: 123//H 03: 123//H 00: t_1_007.cpp(23): CONCAT(1, CONCAT(2, 3)), [t_1_007.cpp(15): CONCAT(a, b)=PRIMITIVE_CONCAT(a, b)]//H 00: t_1_007.cpp(23): CONCAT(2, 3), [t_1_007.cpp(15): CONCAT(a, b)=PRIMITIVE_CONCAT(a, b)]//H 02: PRIMITIVE_CONCAT(2, 3)//H 00: t_1_007.cpp(15): PRIMITIVE_CONCAT(2, 3), [t_1_007.cpp(16): PRIMITIVE_CONCAT(a, b)=a ## b]//H 02: 23//H 03: 23//H 03: 23//H 02: PRIMITIVE_CONCAT(1, 23)//H 00: t_1_007.cpp(15): PRIMITIVE_CONCAT(1, 23), [t_1_007.cpp(16): PRIMITIVE_CONCAT(a, b)=a ## b]//H 02: 123//H 03: 123//H 03: 123//H 00: t_1_007.cpp(26): PRIMITIVE_CONCAT(1, CONCAT(2, 3)), [t_1_007.cpp(16): PRIMITIVE_CONCAT(a, b)=a ## b]//H 02: 1CONCAT(2, 3)//H 03: 1CONCAT(2, 3)

⌨️ 快捷键说明

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