Compile-time type introspection using SFINAE
Compile-time type introspection using SFINAE
Jean Guegant - C++ Stockholm 0x02 - February 2017
Acknowledgement
Boost.Hana (Louis Dionne) JetBrain (Clion license)
Introspection in C++ you said?
Introspection
"Type introspection is the ability of a program to examine the type or properties of an object at runtime."
"Reflection is the ability examine, introspect, and modify its own structure and behavior at runtime."
Generic programming, flexibility, interfacing... Available in most of the modern languages
Runtime introspection in C++
RTTI (runtime type information)
typeid std::type_info ...
Highly limited Not always available Compiler specific Runtime cost No reflection
#include
struct Base { virtual ~Base() = default; }; struct Derived : Base {};
Derived d; Base &b = d; std::cout ................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- tcp ip sockets in c practical guide for programmers
- serialization and sockets
- using the json c api real time logic
- compile time type introspection using sfinae
- qidl an embedded language to serialize guest data
- serialization and bit operations
- a c template library for data centric type modeling for dds
- 1ewxivmrk
- c data marshalling best practices gtc 2012
- the gsoap stub and skeleton compiler for c and c 1 3
Related searches
- how to compile multiple pdf
- compile documents into one pdf
- time data type sql
- compile python to executable
- compile python to exe windows
- compile python into exe
- compile python script to exe
- python compile to exe
- python compile to executable
- compile python to executable linux
- compile python online
- formula for time using velocity and distance