Re: How to use string constants with std::map

2023-10-11 Thread Regina Henschel
Hi Stephan, thank you for the quick answer. Generating the longer u"cd4"_ustr for example is no problem in XSLT. So I will likely go with that. The hint about "not constexpr-ready" is helpful too. I have indeed thought about whether to use it. Kind regards, Regina Stephan Bergmann schrieb

Re: How to use string constants with std::map

2023-10-11 Thread Stephan Bergmann
On 10/11/23 19:24, Regina Henschel wrote: How to write the map? In the past it would have been something like the following: static const std::map> aConnectionSiteAngleMap{     {"accentBorderCallout1",{"0","cd4","cd2","3cd4"}}, ...    

How to use string constants with std::map

2023-10-11 Thread Regina Henschel
Hi all, For import from OOXML, I need a map which has the shape preset type string as key and a vector of the angle strings of the cxn elements of that shape as value. I will extract this information from presetShapeDefinitions.xml file using XSLT. The map has total 187 rows. How to write