logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

std::binary_function< _Arg1, _Arg2, _Result >

Author

       Generated automatically by Doxygen for libstdc++ from the source code.

                                                    libstdc++std::binary_function<_Arg1,_Arg2,_Result>(3cxx)

Detailed Description

template<typename_Arg1,typename_Arg2,typename_Result>
       struct std::binary_function< _Arg1, _Arg2, _Result >"Helper for defining adaptable binary function
       objects.

       Deprecated
           Deprecated in C++11, no longer in the standard since C++17.

Member Typedef Documentation

template<typename_Arg1,typename_Arg2,typename_Result>typedef_Arg1std::binary_function<_Arg1,_Arg2,_Result>::first_argument_type
       first_argument_type is the type of the first argument

   template<typename_Arg1,typename_Arg2,typename_Result>typedef_Resultstd::binary_function<_Arg1,_Arg2,_Result>::result_type
       result_type is the return type

   template<typename_Arg1,typename_Arg2,typename_Result>typedef_Arg2std::binary_function<_Arg1,_Arg2,_Result>::second_argument_type
       second_argument_type is the type of the second argument

Name

       std::binary_function< _Arg1, _Arg2, _Result >

Synopsis

       #include <functional>

       Inherited by std::_Sp_owner_less< shared_ptr< _Tp >, weak_ptr< _Tp > >, std::_Sp_owner_less< weak_ptr<
       _Tp >, shared_ptr< _Tp > >, std::_Sp_owner_less< __shared_ptr< _Tp, _Lp >, __weak_ptr< _Tp, _Lp > >,
       std::_Sp_owner_less< __weak_ptr< _Tp, _Lp >, __shared_ptr< _Tp, _Lp > >, std::_Sp_owner_less< void, void
       >, std::equal_to<_Key>, std::equal_to<_Value>, std::less<typename_Sequence::value_type>,
       __gnu_parallel::_Multiplies<_Tp1,_Tp2,_Result>, __gnu_parallel::_Plus<_Tp1,_Tp2,_Result>, and
       std::pointer_to_binary_function<_Arg1,_Arg2,_Result>.

   PublicTypestypedef_Arg1first_argument_type
           first_argument_type is the type of the first argument
       typedef _Result result_type
           result_type is the return type
       typedef_Arg2second_argument_type
           second_argument_type is the type of the second argument

See Also