C++ Logo

std-proposals

Advanced search

[std-proposals] std::arithmetic concept

From: Phil Endecott <std_proposals_list_at_[hidden]>
Date: Sun, 04 Feb 2024 15:29:28 +0000
Dear Experts,

Does anyone know why we don't have a concept std::arithmetic?

We have type traits std::is_integral and std::is_floating_point and a
composite type trait std::is_arithmetic that is their union. But in
<concepts>, we have std::integral and std::floating_point, but no
std::arithmetic.

Is there known rationale for this?


Regards, Phil.

Received on 2024-02-04 15:29:30