https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95454

--- Comment #3 from Johel Ernesto Guerrero Peña <johelegp at gmail dot com> ---
> A workaround would be to declare the constructor(s) [[nodiscard]]:

That's generally a [better
recommendation](https://github.com/mpusz/units/issues/136). Though I think
you'd have to `= default` SMFs to get the same effects as the  type-level
annotation.

Reply via email to