1 /*============================================================================= 2 Boost.Wave: A Standard compliant C++ preprocessor library 3 http://www.boost.org/ 4 5 Copyright (c) 2001-2012 Hartmut Kaiser. Distributed under the Boost 6 Software License, Version 1.0. (See accompanying file 7 LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 8 =============================================================================*/ 9 10 // Tests macro expansion using variadic macros 11 12 //O --variadics 13 14 #define is_empty(...) is_empty_ ## __VA_ARGS__ ## other 15 16 //R #line 17 "t_1_031.cpp" 17 is_empty( + ) //R is_empty_+other 18 is_empty( +text ) //R is_empty_+textother 19 20 //H 10: t_1_031.cpp(14): #define 21 //H 08: t_1_031.cpp(14): is_empty(...)=is_empty_ ## __VA_ARGS__ ## other 22 //H 00: t_1_031.cpp(17): is_empty( + ), [t_1_031.cpp(14): is_empty(...)=is_empty_ ## __VA_ARGS__ ## other] 23 //H 02: is_empty_+other 24 //H 03: is_empty_+other 25 //H 00: t_1_031.cpp(18): is_empty( +text ), [t_1_031.cpp(14): is_empty(...)=is_empty_ ## __VA_ARGS__ ## other] 26 //H 02: is_empty_+textother 27 //H 03: is_empty_+textother 28