__GNU_PARALLEL::EQUAL_TO(3)

πŸ“¦ version 4.4.0, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to the __gnu_parallel::equal_to(3) page from the Library Functions Manual ✨ This little struct is similar to std::equal_to, but no cap, it allows two different types β€” it's giving tiny-but-mighty flexible-energy πŸ’…

✨ SYNOPSIS ✨

It inherits from binary_function< T1, T2, bool > 🫢

πŸŽ€ Public Types πŸŽ€

  • typedef T1 first_argument_type β€” the type of the first argument, and honestly no surprises here πŸ’–
  • typedef bool result_type β€” the type of the return type, slay ⭐
  • typedef T2 second_argument_type β€” the type of the second argument πŸ“

πŸ’… Public Member Functions πŸ’…

  • bool operator() (const T1 &t1, const T2 &t2) const β€” the call operator, main character behavior only: it takes a const T1 &t1 and a const T2 &t2 and gives you back a bool πŸ‘‘

πŸ¦‹ Detailed Description πŸ¦‹

template<typename T1, typename T2> struct __gnu_parallel::equal_to< T1, T2 >

Similar to std::equal_to, but allows two different types β€” yes, two, it's versatile like that πŸ¦‹βœ¨

Definition at line 250 of file base.h.

🌈 Member Typedef Documentation 🌈

πŸ’– first_argument_type πŸ’–

This one is inherited from std::binary_function< T1 , T2 , bool > β€” it's the type of the first argument, no surprises here, bestie πŸ’–

typedef T1  std::binary_function< T1 , T2 , bool  >::first_argument_type

Definition at line 114 of file stl_function.h.

⭐ result_type ⭐

Also inherited from std::binary_function< T1 , T2 , bool > β€” it's the type of the return type ✨

typedef bool  std::binary_function< T1 , T2 , bool  >::result_type

Definition at line 118 of file stl_function.h.

πŸ“ second_argument_type πŸ“

Inherited from std::binary_function< T1 , T2 , bool > too β€” the type of the second argument πŸ“

typedef T2  std::binary_function< T1 , T2 , bool  >::second_argument_type

Definition at line 117 of file stl_function.h.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code β€” robot-made docs, honestly iconic πŸ€–πŸ’…

xoxo, libstdc++ β€” 21 Apr 2009 πŸ’–

πŸ“¦ where this page comes from