Wenzel Jakob f4245181ae enum_: move most functionality to a non-template implementation
This commit addresses an inefficiency in how enums are created in
pybind11. Most of the enum_<> implementation is completely generic --
however, being a template class, it ended up instantiating vast amounts
of essentially identical code in larger projects with many enums.

This commit introduces a generic non-templated helper class that is
compatible with any kind of enumeration. enum_ then becomes a thin
wrapper around this new class.

The new enum_<> API is designed to be 100% compatible with the old one.
2018-09-11 22:08:26 +02:00
..
2016-04-26 23:48:55 +02:00
2017-08-31 14:01:08 +02:00
2017-08-17 15:10:51 +02:00
2018-04-24 17:44:57 -03:00
2016-09-19 13:45:31 +02:00
2015-10-13 03:16:44 +02:00
2017-03-12 22:36:48 +01:00