|
Boost : |
From: Matt Borland (matt_at_[hidden])
Date: 2025-01-15 20:13:28
On Wednesday, January 15th, 2025 at 3:03 PM, Peter Dimov <pdimov_at_[hidden]> wrote:
>
>
> 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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk