C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Bool casting operator to check if a container not empty

From: Olaf van der Spek <ml_at_[hidden]>
Date: Tue, 31 Oct 2023 20:44:18 +0100
On Thu, Oct 19, 2023 at 12:06 PM Alex Rozenman via Std-Proposals
<std-proposals_at_[hidden]> wrote:
> In this message I would like to suggest to use of a bool casting operator as the most clean form of this function:

Nice suggestion. ;)

https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3509.htm


-- 
Olaf

Received on 2023-10-31 19:44:41