C++ Logo

std-proposals

Advanced search

Re: [std-proposals] unimplemented attribute

From: Thiago Macieira <thiago_at_[hidden]>
Date: Wed, 19 Mar 2025 07:39:38 -0700
On Wednesday, 19 March 2025 02:17:41 Pacific Daylight Time Hans Ã…berg via Std-
Proposals wrote:
> Assume that GCC has the declaration:
> namespace std{
> [[unimplemented]] std::float128_t modf(std::float128_t, std::float128_t*);
> }

This means no one can call this function. It being implemented later by
someone else does not change the fact it cannot be called. So why would anyone
implement it?

I ask again: in what way is this different from =delete("unimplemented")?

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Principal Engineer - Intel DCAI Platform & System Engineering

Received on 2025-03-19 14:39:45