C++ Logo


Advanced search

Re: [wg14/wg21 liaison] How to handle conflicting 'unreachable' definitions

From: Jonathan Wakely <cxx_at_[hidden]>
Date: Thu, 4 Apr 2024 15:24:21 +0100
On Thu, 4 Apr 2024 at 15:16, Jā‚‘ā‚™ā‚› Gustedt via Liaison <
liaison_at_[hidden]> wrote:

> Aaron,
> clang could also promote the existing `__builtin_unreachable` to the
> `std` namespace or have an alias of that name, there. Though I don't
> know if such a thing is politically admissible ;-)

C++ already has std::unreachable(), so no need for the built-in name.

Received on 2024-04-04 14:25:41