STD::DIVIDES(3cxx)
std::divides< _Tp > π
okay bestie, welcome to the 3cxx manual page for std::divides< _Tp > β¨ This is one of the math functors, and it's here to be your lowkey functional-math bestie. No cap. π«Ά
β¨ NAME β¨
std::divides< _Tp > β one of the math functors. π
πΈ SYNOPSIS πΈ
#include <functional>
It inherits from std::binary_function< _Tp, _Tp, _Tp >. π
π Public Types π
typedef _Tp first_argument_typeβfirst_argument_typeis the type of the first argument. Gotta know what you're feeding it, bestie πtypedef _Tp result_typeβresult_typeis the return type. That's the little glow-up that comes back out β¨typedef _Tp second_argument_typeβsecond_argument_typeis the type of the second argument. The other half of the duo π«Ά
π₯ Public Member Functions π₯
constexpr _Tp operator() (const _Tp &__x, const _Tp &__y) constβ the call operator, sitting there beingconstexprand ready to do the math-functor thing. Iconic behavior, honestly π
π Detailed Description π
template<typename _Tp>
struct std::divides< _Tp >"One of the math functors.
That quote-mark situation in the signature is straight from the source, bestie β not me being chaotic π. The description is short and iconic: it's one of the math functors. Periodt. β¨
π¦ Member Typedef Documentation π¦
typedef _Tp std::binary_function< _Tp , _Tp , _Tp >::first_argument_type [inherited]
typedef _Tp std::binary_function< _Tp , _Tp , _Tp >::first_argument_type
first_argument_type is the type of the first argument. π
typedef _Tp std::binary_function< _Tp , _Tp , _Tp >::result_type [inherited]
typedef _Tp std::binary_function< _Tp , _Tp , _Tp >::result_type
result_type is the return type. π
typedef _Tp std::binary_function< _Tp , _Tp , _Tp >::second_argument_type [inherited]
typedef _Tp std::binary_function< _Tp , _Tp , _Tp >::second_argument_type
second_argument_type is the type of the second argument. π
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. π«Ά
okay that's the whole page, bestie π
β footer vibes: source/version is libstdc++, the manual is std::divides< _Tp >(3cxx), and the date is literally not present in the original footer, so I'm not inventing one. Periodt β¨π¦
π¦ 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