Add description how to handle user types
Flamefire opened this issue · 0 comments
Flamefire commented
The example for adding custom types using std::string
is not really helpful.
Could you add an example how to create the correct type_traits
for a custom struct?
Example:
struct Foo{
int bar;
std::string sBar;
float fBar;
std::vector<int> vBar;
};
Or maybe simpler:
struct Point{
int x, y;
};
Related to #41