Closed VeaaC closed 2 years ago
If you have a struct containing an enum, e.g.:
namespace ttf { enum RestrictionType : u8 { DUMMY, } struct A { restriction_type : RestrictionType; } }
Then the generated A::to_string does not compile:
A::to_string
error: no match for ‘operator+’: " restriction_type : " << +restriction_type << "," << std::endl
If you have a struct containing an enum, e.g.:
Then the generated
A::to_string
does not compile: