Proposal: allow std::not_fn, use it instead of base::not_fn

19 views
Skip to first unread message

Danil Chapovalov

unread,
Aug 9, 2022, 4:40:58 AM8/9/22
to cxx

Danil Chapovalov

unread,
Aug 9, 2022, 4:52:30 AM8/9/22
to cxx, Danil Chapovalov
Sorry, was too hasty: 
std::not_fn is not constexpr until c++20, base::not_fn is constexpr,
and there is code that rely on it to be constexpr.
so it might be better to keep using base::not_fn for now.

Reply all
Reply to author
Forward
0 new messages