billyquith / ponder

C++ reflection library with Lua binding, and JSON and XML serialisation.
http://billyquith.github.io/ponder/
Other
648 stars 95 forks source link

Remove/Refactor tags #92

Open billyquith opened 6 years ago

billyquith commented 6 years ago

TagHolder is the base class for all declared types. This is a specialised use of the types and seems like it should be in the client code. Each TagHolder contains a std::map, which is also an unwanted overhead.

Perhaps this could be removed and custom user data attached to objects?

I'll remove this for now and rethink it later.

billyquith commented 6 years ago

We'll add a common base class ponder::Type for now.

billyquith commented 6 years ago

In dev branch.

billyquith commented 6 years ago

See #98 for mechanism for this.