Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Data Structures | Macros | Typedefs | Functions | Variables
20.pairs.cpp File Reference
#include <utility>
#include <rw_alg_test.h>
#include <rw_value.h>
#include <rw_driver.h>
Include dependency graph for 20.pairs.cpp:

Go to the source code of this file.

Data Structures

struct  Y
 

Macros

#define FUN(result, name, arg_list)
 

Typedefs

typedef base< def_ctor > DefaultConstructible
 
typedef base< cpy_ctor > CopyConstructible
 

Functions

 _RWSTD_NAMESPACE (std)
 
template<class T , class U >
void test_pair (T, const char *tname, U, const char *uname)
 
int main (int argc, char *argv[])
 

Variables

int less_used
 

Macro Definition Documentation

◆ FUN

#define FUN (   result,
  name,
  arg_list 
)
Value:
do { \
rw_info (0, 0, __LINE__, "%s(const pair<%s, %s>&, " \
"const pair<%s, %s>&)", #name, \
tname, uname, tname, uname); \
/* make name unique to prevent bogus gcc -Wshadow warnings */ \
result (*_RWSTD_PASTE (pf, __LINE__)) arg_list = &name; \
_RWSTD_UNUSED (_RWSTD_PASTE (pf, __LINE__)); \
} while (0)
#define pf
Definition 17.names.cpp:516
#define _RWSTD_PASTE(a, b)
Definition _defs.h:618
const char * name
Definition codecvt1.cpp:72

Typedef Documentation

◆ CopyConstructible

Definition at line 58 of file 20.pairs.cpp.

◆ DefaultConstructible

Definition at line 57 of file 20.pairs.cpp.

Function Documentation

◆ _RWSTD_NAMESPACE()

_RWSTD_NAMESPACE ( std  )

Definition at line 43 of file 20.pairs.cpp.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 289 of file 20.pairs.cpp.

◆ test_pair()

template<class T , class U >
void test_pair ( T  ,
const char *  tname,
U  ,
const char *  uname 
)

Definition at line 82 of file 20.pairs.cpp.

Variable Documentation

◆ less_used

int less_used

Definition at line 40 of file 20.pairs.cpp.