C++ Logo

std-proposals

Advanced search

Re: [std-proposals] std::contains_mutable

From: Thiago Macieira <thiago_at_[hidden]>
Date: Sun, 02 Jul 2023 22:02:21 -0700
On Saturday, 1 July 2023 15:47:34 PDT Frederick Virchanza Gotham via Std-
Proposals wrote:
> Actually this is why there should be two new additions to <type_traits>:
>
> std::contains_mutable
> std::contains_nonatomic_mutable


struct Private;
struct S { Private *const d: };

Does this contain a mutable? Is it thread-safe?

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel DCAI Cloud Engineering

Received on 2023-07-03 05:02:23