
15 Jan
2025
15 Jan
'25
8:13 p.m.
On Wednesday, January 15th, 2025 at 3:03 PM, Peter Dimov
Matt Borland wrote:
namespace boost { namespace decimal {
// Paragraph numbers are from ISO/IEC DTR 24733
// 3.2.2.1 construct/copy/destroy constexpr decimal32() noexcept = default;
This doesn't compile. "class decimal32 {" is missing.
It was previously described here: https://cppalliance.org/decimal/decimal.html#generic_decimal_ so I did not duplicate anything from that block.
It doesn't compile.
The synopsis must be valid C++. Just because you have a forward declaration
class decimal32;
doesn't mean that you can just start writing member declarations directly in the namespace and expect anything to compile or make sense.
Oh, I see what you're saying. I'll fix it shortly. Matt