|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2025-01-15 20:03:31
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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk