C++ Logo

std-proposals

Advanced search

Re: [std-proposals] std::arithmetic concept

From: Hewill Kang <hewillk_at_[hidden]>
Date: Sun, 4 Feb 2024 23:31:50 +0800
FYI
https://stackoverflow.com/questions/58067259/will-there-be-a-concept-for-arithmetic-types-in-c-standard-library



Phil Endecott via Std-Proposals <std-proposals_at_[hidden]>於 2024年2月4日
週日,23:29寫道:

> 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.
>
>
>
>
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
>

Received on 2024-02-04 15:32:02