Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hugoarregui/cpp-type-mapper
- Owner: hugoArregui
- License: other
- Created: 2013-01-19T18:43:28.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-02-28T22:14:07.000Z (almost 12 years ago)
- Last Synced: 2023-04-06T00:32:13.047Z (over 1 year ago)
- Language: C++
- Size: 129 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.