STD::LOGICAL_NOT(3cxx)
π NAME π
okay so bestie, welcome to std::logical_not< _Tp >(3cxx) β yes, that's the manual name and the whole title, and she's the main character of this page. The one-line tea is: std::logical_not< _Tp > β One of the Boolean operations functors. Slay. β¨
β¨ SYNOPSIS β¨
The actual include is tiny, no cap:
#include <functional>
And it inherits from this unary_function situation:
Inherits std::unary_function< _Tp, bool >.
π Public Types π
Two typedefs, both iconic:
argument_typeβ the exact typedef istypedef _Tp argument_type, and the description is literallyargument_type is the type of the argument. πresult_typeβ the exact typedef istypedef bool result_type, and the description is literallyresult_type is the return type. π«Ά
π¦ Public Member Functions π¦
One member function, and it's giving constexpr:
constexpr bool operator() (const _Tp &__x) const
That's the whole member-function list on this page. Periodt. π
πΈ Detailed Description πΈ
Here's the template/struct situation, copied exactly:
template<typename _Tp>
struct std::logical_not< _Tp >"One of the Boolean operations functors.
bestie, that double quote is literally in the original line after > β we are not editing it, not fixing it, not touching it. It stays exactly like that. π
π Member Typedef Documentation π
These two are inherited from std::unary_function< _Tp , bool >, with the spaces kept exact because we respect the source:
Exact inherited signatures:
typedef _Tp std::unary_function< _Tp , bool >::argument_type [inherited]
typedef bool std::unary_function< _Tp , bool >::result_type [inherited]
argument_type[inherited] β the docs say:argument_typeis the type of the argument. πresult_type[inherited] β the docs say:result_typeis the return type. π¦
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. That's the author section, fr fr. π
mmmwah bestie π«Ά β sign-off time: source/version is libstdc++, the footer manual/title is std::logical_not< _Tp >(3cxx), and the original footer did not give a date, so we're not inventing one. No cap. π
π¦ where this page comes from
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms