Share this postDaily bit(e) of C++Daily bit(e) of C++ | std::not_fnCopy linkFacebookEmailNotesMoreDaily bit(e) of C++ | std::not_fnDaily bit(e) of C++ #264, The function wrapper that returns the negation of the wrapped callable: std::not_fn.Šimon TóthSep 22, 20233Share this postDaily bit(e) of C++Daily bit(e) of C++ | std::not_fnCopy linkFacebookEmailNotesMoreSharestd::not_fn is a C++17 utility from the functional header that creates a simple forwarding call wrapper that returns the negation of the wrapped callable.Click to open in Compiler Explorer.Leave a commentThanks for reading Daily bit(e) of C++! Subscribe for free to receive new posts and support my work.Subscribe