8 Oct
2025
8 Oct
'25
10:52 a.m.
- What is your evaluation of the design?
There seems to be no way to construct a boost.decimal from a string representing a decimal number. Is that correct, or have I missed it? Without a constructor or conversion mechanism from string, when using decimal to store numbers received off the wire one would either have to round trip through (lossy) strtod or write a conversion function, which is tiresome. Almost all financial systems (an obvious candidate for a class such as this) spend most of their time converting decimals to strings and strings to decimals. I see that serialisation is covered by *fmt* integration, but what about parsing? R