C++ Logo

STD-DISCUSSION

Advanced search

Subject: The attribute nodiscard for the member function contains of associative containers.
From: Vladimir Grigoriev (vlad.moscow_at_[hidden])
Date: 2020-08-10 04:22:27


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



STD-DISCUSSION list run by std-discussion-owner@lists.isocpp.org

Older Archives on Google Groups