Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / outcome / doc / src / content / reference / traits / is_error_type.md
index db1592e..91bf2bf 100644 (file)
@@ -3,7 +3,12 @@ title = "`is_error_type<E>`"
 description = "A customisable integral constant type true for `E` types which are to receive error throwing no-value policies."
 +++
 
-A customisable integral constant type true for `E` types which are to receive error throwing no-value policies.
+A customisable integral constant type true for `E` types which are to receive
+error throwing no-value policies. Special weakened implicit construction enable
+is available for integral `T` types when combined with `E` types in this
+whitelist -- this permits `boost_result<int, boost::system::errc::errc_t` to
+retain its implicit constructors, despite the fact that `errc_t` as a C enum
+has an implicit conversion to `int`.
 
 *Overridable*: By template specialisation into the `trait` namespace.