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_type is the type of the first argument. Gotta know what you're feeding it, bestie πŸ“
  • typedef _Tp result_type β€” result_type is the return type. That's the little glow-up that comes back out ✨
  • typedef _Tp second_argument_type β€” second_argument_type is 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 being constexpr and 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