+++ title = "`basic_result`" description = "A boolean concept matching types which are convertible to a `basic_result`." +++ If on C++ 20 or the Concepts TS is enabled, a boolean concept matching types which have `value_type`, `error_type` and `no_value_policy_type` member typedefs; that the type is convertible to `basic_result`; that `basic_result` is a base of the type. If without Concepts, a static constexpr bool which is true for types matching the same requirements, using a SFINAE based emulation. This concept matches any type which provides the same typedefs as a {{% api "basic_result" %}}, has that `basic_result` as a base class, and is implicitly convertible to `basic_result`. Whilst not guaranteed, it is very likely that the type is a `basic_result`, or inherits publicly from a `basic_result`. If you want something which matches any value-or-error type, consider {{% api "value_or_error" %}}. If you want something which exactly matches `basic_result`, use {{% api "is_basic_result" %}}. *Namespace*: `BOOST_OUTCOME_V2_NAMESPACE::concepts` *Header*: ``