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::pointer_to_unary_function< _Arg, _Result > - One of the adaptors for function pointers.

Author

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

                                                    libstdcstd::pointer_to_unary_function<_Arg,_Result>(3cxx)

Detailed Description

template<typename_Arg,typename_Result>
       class std::pointer_to_unary_function< _Arg, _Result >"One of the adaptorsforfunctionpointers.

Member Typedef Documentation

template<typename_Arg,typename_Result>typedef_Argstd::unary_function<_Arg,_Result>::argument_type[inherited]
       argument_type is the type of the argument

   template<typename_Arg,typename_Result>typedef_Resultstd::unary_function<_Arg,_Result>::result_type[inherited]
       result_type is the return type

Name

       std::pointer_to_unary_function< _Arg, _Result > - One of the adaptorsforfunctionpointers.

Synopsis

       #include <functional>

       Inherits std::unary_function<_Arg,_Result>.

   PublicTypestypedef _Arg argument_type
           argument_type is the type of the argument
       typedef _Result result_type
           result_type is the return type

   PublicMemberFunctionspointer_to_unary_function (_Result(*__x)(_Arg))
       _Result operator() (_Arg __x) const

   ProtectedAttributes
       _Result(* _M_ptr )(_Arg)

See Also