C++ Logo

std-discussion

Advanced search

Member function release of std::unique_ptr

From: Vladimir Grigoriev <vlad.moscow_at_[hidden]>
Date: Thu, 24 Jun 2021 01:08:29 +0300
Why does not the member function release of the class template std::unique_ptr have the attribute nodiscard?
 
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 2021-06-23 17:08:35