|
Boost : |
Subject: Re: [boost] [outcome] expected<T&>, result<T&>
From: Peter Dimov (lists_at_[hidden])
Date: 2017-05-25 22:53:50
Andrzej Krzemienski wrote:
> But not providing them means that if I have function that returns a
> reference and signals failures by, say output function parameter:
>
> T& find_smallest(std::array<T, 10> & array, std::error_code & err);
There are no such functions. Not one in the whole world. :-)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk