generics
variadic template parameter
1 | template<typename... Types> |
macros
examples
1 |
__cplusplus
macro is a predefined macro in C++ that is used to indicate the version of the C++ standard being used by the compiler. The value of__cplusplus
is an integer that represents the version.- FILE
__FILE__
is a predefined macro in C and C++ that expands to the name of the current source file as a string literal. - LINE
__LINE__
is a predefined macro in C and C++ that expands to the current line number in the source code.