Macros | Functions
test_cppmacros.cxx File Reference
#include <iostream>

Go to the source code of this file.

Macros

#define FOO(TypeName, varname)
 

Functions

int main ()
 

Macro Definition Documentation

#define FOO (   TypeName,
  varname 
)
Value:
namespace FooBar { \
void the##TypeName##func(TypeName var##varname) { std::cout << var##varname << std::endl; }}
int var
Definition: 018_def.c:9
def func()
Definition: docstring.py:7
QTextStream & endl(QTextStream &s)

Definition at line 3 of file test_cppmacros.cxx.

Function Documentation

int main ( void  )

Definition at line 9 of file test_cppmacros.cxx.

10 {
11  FooBar::theintfunc(42);
12 }