C++ Logo

std-proposals

Advanced search

[std-proposals] inplace_vector failable apis

From: Magnus Fromreide <magfr_at_[hidden]>
Date: Mon, 20 Nov 2023 01:32:21 +0100
Hello!

When I saw the failable API's the first question I asked myself was why you
choose to use T* as return type rather than
std::optional<std::reference_wrapper<T>> or possibly
std::expected<std::reference_wrapper<T>, void>

/MF

Received on 2023-11-20 00:32:25