• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1+++
2title = "`checked<T, E = varies>`"
3description = "A type alias to a `std_checked<T, E>` (standalone edition) or `boost_checked<T, E>` (Boost edition)."
4+++
5
6A type alias to either {{% api "std_checked<T, E = std::error_code>" %}} (standalone edition) or {{% api "boost_checked<T, E = boost::system::error_code>" %}} (Boost edition). This means that `checked<T>` uses the appropriate default alias depending on which edition of Outcome is in use.
7
8*Namespace*: `BOOST_OUTCOME_V2_NAMESPACE`
9
10*Header*: `<boost/outcome/result.hpp>`
11