Detect a compiler that implements P1957R2 (and rejects narrowing).

Synopsis

Declared in <bslstl_variant.h>

Description

This partial specialization derives from bsl::false_type, and is selected only when Variant_ArrayHelper<t_TYPE>{{"bc"}} is a valid expression, indicating that the compiler has implemented P1957R2 (and therefore rejects narrowing pointer‐to‐`bool` conversions in aggregate initialization).

Base Classes

Name

Description

bsl::false_type

Metafunction representing the boolean constant false.

Created with MrDocs