Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Data Structures | Macros | Functions
20.meta.trans.cv.cpp File Reference
#include <rw_driver.h>
#include <rw/_defs.h>
#include <type_traits>
Include dependency graph for 20.meta.trans.cv.cpp:

Go to the source code of this file.

Data Structures

struct  test_is_same< T, U >
 
struct  test_is_same< T, T >
 

Macros

#define TEST(Trait, TypeT, TypeU)
 
#define C   const
 
#define V   volatile
 
#define CV   const volatile
 

Functions

void test_trait (int line, bool same, const char *trait, const char *typeT, const char *typeU)
 
int main (int argc, char *argv[])
 

Macro Definition Documentation

◆ C

#define C   const

Definition at line 71 of file 20.meta.trans.cv.cpp.

◆ CV

#define CV   const volatile

Definition at line 73 of file 20.meta.trans.cv.cpp.

◆ TEST

#define TEST (   Trait,
  TypeT,
  TypeU 
)
Value:
test_trait(__LINE__, \
std::is_same<Trait<TypeT>::type, TypeU>::value, \
#Trait, #TypeT, #TypeU)
void test_trait(int line, bool same, const char *trait, const char *typeT, const char *typeU)
T value(const T &val)

Definition at line 64 of file 20.meta.trans.cv.cpp.

◆ V

#define V   volatile

Definition at line 72 of file 20.meta.trans.cv.cpp.

Function Documentation

◆ main()

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

Definition at line 324 of file 20.meta.trans.cv.cpp.

◆ test_trait()

void test_trait ( int  line,
bool  same,
const char *  trait,
const char *  typeT,
const char *  typeU 
)

Definition at line 54 of file 20.meta.trans.cv.cpp.