1+++ 2title = "`std_result<T, E = std::error_code, NoValuePolicy = policy::default_policy<T, E, void>>`" 3description = "A type alias to a `basic_result` configured with `std::error_code` and `policy::default_policy`." 4+++ 5 6A type alias to a {{% api "basic_result<T, E, NoValuePolicy>" %}} configured with {{% api "std::error_code" %}} and `policy::`{{% api "default_policy" %}}. 7 8This type alias always references the `std` edition of things, unlike {{% api "result<T, E = varies, NoValuePolicy = policy::default_policy<T, E, void>>" %}} which references either this alias or {{% api "boost_result<T, E = boost::system::error_code, NoValuePolicy = policy::default_policy<T, E, void>>" %}}. 9 10*Namespace*: `BOOST_OUTCOME_V2_NAMESPACE` 11 12*Header*: `<boost/outcome/std_result.hpp>` 13