MCPcopy Create free account
hub / github.com/ashvardanian/less_slow.cpp / expected

Method expected

less_slow.cpp:6170–6170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6168
6169 public:
6170 expected(value_type_ const &value) noexcept : value_(value) {}
6171 expected(std::error_code const &error) noexcept : value_(error) {}
6172
6173 explicit operator bool() const noexcept { return std::holds_alternative<value_type_>(value_); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected