$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2020-06-02 13:38:17
Alexander Grund wrote:
> With an API like `result<Foo> do() noexcept` instead of `Foo do()` you
> won't get (N)RVO when you return a `Foo` (in the happy case) as the
> standard only allows it when the types are exactly the same.
This doesn't matter much nowadays. E.g. in https://godbolt.org/z/zC-Cah if
you remove x.f(), x goes away.