I looked at boost mpl :: string, but there seems to be no easy way to convert string literals to the mpl :: string format with a single quote. What I'm trying to do is to generate an XML implementation of some simple data structures using compile time strings at compile time. I try to make the macros generate the structures themselves and insert a constant "meta" field inside them containing the specified XML string.
source
share