Template Function c4::eoffs_pfx

Function Documentation

template<class Enum>
size_t c4::eoffs_pfx()

return the offset for an enum symbol prefix. This includes eoffs_cls(). With this function you can announce that the full prefix (including an eventual enclosing class or C++11 enum class plus the string prefix) is of a certain length.

Warning

Needs to be specialized for each enum class type that wants to use this. When no specialization is given, will return 0.