C++ Logo

std-discussion

Advanced search

The attribute nodiscard for the member function contains of associative containers.

From: Vladimir Grigoriev <vlad.moscow_at_[hidden]>
Date: Mon, 10 Aug 2020 12:22:27 +0300
The member function empty of associative containers has the attribute nodiscard. It seems that the new member function contains should also have the attribute, should not it?
 
With best regards,
(Vlad from Moscow)
 
You can meet me at http://cpp.forum24.ru/ or www.stackoverflow.com or http://ru.stackoverflow.com

Received on 2020-08-10 04:25:54