Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hugoarregui/cpp-type-mapper

C++ type mapper library for C++0x
https://github.com/hugoarregui/cpp-type-mapper

Last synced: about 2 months ago
JSON representation

C++ type mapper library for C++0x

Awesome Lists containing this project

README

        

#TypeMapperPP

C++ type mapper library for C++0x

##Usage:

The type mapper is configured via TypeMapper class:

TypeMapper

Example:

typedef TypeMapper, is_integral> IntegralToDoubleMapper;

See tests/tm_pp_test.cpp for more examples.

##Target:

Type

Maps to type T.

Uconst::To

Maps to T with const attr removed.

Const::To

Maps to const T.

See tests/targets_test.cpp for more examples.

##Predicate:

is_pointer

is_integral

is_const

is_fundamental

is_same

is_reference

is_equal

See tests/predicates_test.cpp for more examples.