libstdc++
|
Go to the source code of this file.
Classes | |
struct | std::__is_location_invariant< _Tp > |
struct | std::_Derives_from_binary_function< _Tp > |
Determines if the type _Tp derives from binary_function. More... | |
struct | std::_Derives_from_unary_function< _Tp > |
Determines if the type _Tp derives from unary_function. More... | |
class | std::_Function_base |
Base class of all polymorphic function object wrappers. More... | |
struct | std::_Maybe_get_result_type< _Has_result_type, _Functor > |
If we have found a result_type, extract it. More... | |
struct | std::_Maybe_unary_or_binary_function< _Res, _ArgTypes > |
struct | std::_Maybe_unary_or_binary_function< _Res, _T1 > |
Derives from unary_function , as appropriate. More... | |
struct | std::_Maybe_unary_or_binary_function< _Res, _T1, _T2 > |
Derives from binary_function , as appropriate. More... | |
struct | std::_Maybe_wrap_member_pointer< _Tp > |
struct | std::_Maybe_wrap_member_pointer< _Tp _Class::* > |
class | std::_Mem_fn< _Res(_Class::*)(_ArgTypes...) const > |
Implementation of mem_fn for const member function pointers. More... | |
class | std::_Mem_fn< _Res(_Class::*)(_ArgTypes...) const volatile > |
Implementation of mem_fn for const volatile member function pointers. More... | |
class | std::_Mem_fn< _Res(_Class::*)(_ArgTypes...) volatile > |
Implementation of mem_fn for volatile member function pointers. More... | |
class | std::_Mem_fn< _Res(_Class::*)(_ArgTypes...)> |
Implementation of mem_fn for member function pointers. More... | |
class | std::_Mu< _Arg, false, false > |
class | std::_Mu< _Arg, false, true > |
class | std::_Mu< _Arg, true, false > |
class | std::_Mu< reference_wrapper< _Tp >, false, false > |
struct | std::_Placeholder< _Num > |
The type of placeholder objects defined by libstdc++. More... | |
struct | std::_Reference_wrapper_base< _Tp > |
struct | std::_Safe_tuple_element< __i, _Tuple > |
struct | std::_Safe_tuple_element_impl< __i, _Tuple, _IsSafe > |
struct | std::_Safe_tuple_element_impl< __i, _Tuple, false > |
struct | std::_Weak_result_type< _Functor > |
struct | std::_Weak_result_type_impl< _Functor > |
struct | std::_Weak_result_type_impl< _Res(&)(_ArgTypes...)> |
Retrieve the result type for a function reference. More... | |
struct | std::_Weak_result_type_impl< _Res(*)(_ArgTypes...)> |
Retrieve the result type for a function pointer. More... | |
struct | std::_Weak_result_type_impl< _Res(_ArgTypes...)> |
Retrieve the result type for a function type. More... | |
struct | std::_Weak_result_type_impl< _Res(_Class::*)(_ArgTypes...) const > |
Retrieve result type for a const member function pointer. More... | |
struct | std::_Weak_result_type_impl< _Res(_Class::*)(_ArgTypes...) const volatile > |
Retrieve result type for a const volatile member function pointer. More... | |
struct | std::_Weak_result_type_impl< _Res(_Class::*)(_ArgTypes...) volatile > |
Retrieve result type for a volatile member function pointer. More... | |
struct | std::_Weak_result_type_impl< _Res(_Class::*)(_ArgTypes...)> |
Retrieve result type for a member function pointer. More... | |
class | std::bad_function_call |
Exception class thrown when class template function's operator() is called with an empty target. More... | |
class | std::function< _Res(_ArgTypes...)> |
Primary class template for std::function.Polymorphic function wrapper. More... | |
struct | std::is_bind_expression< _Tp > |
Determines if the given type _Tp is a function object should be treated as a subexpression when evaluating calls to function objects returned by bind(). [TR1 3.6.1]. More... | |
struct | std::is_bind_expression< _Bind< _Signature > > |
Class template _Bind is always a bind expression. More... | |
struct | std::is_bind_expression< _Bind_result< _Result, _Signature > > |
Class template _Bind_result is always a bind expression. More... | |
struct | std::is_bind_expression< const _Bind< _Signature > > |
Class template _Bind is always a bind expression. More... | |
struct | std::is_bind_expression< const _Bind_result< _Result, _Signature > > |
Class template _Bind_result is always a bind expression. More... | |
struct | std::is_bind_expression< const volatile _Bind< _Signature > > |
Class template _Bind is always a bind expression. More... | |
struct | std::is_bind_expression< const volatile _Bind_result< _Result, _Signature > > |
Class template _Bind_result is always a bind expression. More... | |
struct | std::is_bind_expression< volatile _Bind< _Signature > > |
Class template _Bind is always a bind expression. More... | |
struct | std::is_bind_expression< volatile _Bind_result< _Result, _Signature > > |
Class template _Bind_result is always a bind expression. More... | |
struct | std::is_placeholder< _Tp > |
Determines if the given type _Tp is a placeholder in a bind() expression and, if so, which placeholder it is. [TR1 3.6.2]. More... | |
struct | std::is_placeholder< _Placeholder< _Num > > |
class | std::reference_wrapper< _Tp > |
Primary class template for reference_wrapper. More... | |
Namespaces | |
namespace | std |
namespace | std::placeholders |
Defines | |
#define | _GLIBCXX_FUNCTIONAL |
Enumerations | |
enum | _Manager_operation { __get_type_info, __get_functor_ptr, __clone_functor, __destroy_functor } |
Functions | |
template<typename _Callable , typename... _Args> | |
_Bind_simple_helper< _Callable, _Args...>::__type | std::__bind_simple (_Callable &&__callable, _Args &&...__args) |
template<typename _Functor > | |
_Functor & | std::__callable_functor (_Functor &__f) |
template<typename _Member , typename _Class > | |
_Mem_fn< _Member _Class::* > | std::__callable_functor (_Member _Class::*&__p) |
template<typename _Member , typename _Class > | |
_Mem_fn< _Member _Class::* > | std::__callable_functor (_Member _Class::*const &__p) |
template<typename _Member , typename _Class > | |
_Mem_fn< _Member _Class::* > | std::__callable_functor (_Member _Class::*volatile &__p) |
template<typename _Member , typename _Class > | |
_Mem_fn< _Member _Class::* > | std::__callable_functor (_Member _Class::*const volatile &__p) |
template<std::size_t _Ind, typename... _Tp> | |
auto | std::__volget (volatile tuple< _Tp...> &__tuple)-> typename tuple_element< _Ind |
typename _Tp auto | std::__volget (const volatile tuple< _Tp...> &__tuple)-> typename tuple_element< _Ind |
template<typename _Func , typename... _BoundArgs> | |
_Bind_helper< __is_socketlike < _Func >::value, _Func, _BoundArgs...>::type | std::bind (_Func &&__f, _BoundArgs &&...__args) |
template<typename _Result , typename _Func , typename... _BoundArgs> | |
_Bindres_helper< _Result, _Func, _BoundArgs...>::type | std::bind (_Func &&__f, _BoundArgs &&...__args) |
template<typename _Tp , typename _Class > | |
_Mem_fn< _Tp _Class::* > | std::mem_fn (_Tp _Class::*__pm) noexcept |
template<typename _Res , typename... _Args> | |
bool | std::operator!= (const function< _Res(_Args...)> &__f, nullptr_t) noexcept |
template<typename _Res , typename... _Args> | |
bool | std::operator!= (nullptr_t, const function< _Res(_Args...)> &__f) noexcept |
template<typename _Res , typename... _Args> | |
bool | std::operator== (const function< _Res(_Args...)> &__f, nullptr_t) noexcept |
template<typename _Res , typename... _Args> | |
bool | std::operator== (nullptr_t, const function< _Res(_Args...)> &__f) noexcept |
template<typename _Res , typename... _Args> | |
void | std::swap (function< _Res(_Args...)> &__x, function< _Res(_Args...)> &__y) |
template<typename _Tp > | |
reference_wrapper< _Tp > | std::ref (_Tp &__t) noexcept |
template<typename _Tp > | |
reference_wrapper< const _Tp > | std::cref (const _Tp &__t) noexcept |
template<typename _Tp > | |
void | std::ref (const _Tp &&) |
template<typename _Tp > | |
void | std::cref (const _Tp &&) |
template<typename _Tp > | |
reference_wrapper< _Tp > | std::ref (reference_wrapper< _Tp > __t) noexcept |
template<typename _Tp > | |
reference_wrapper< const _Tp > | std::cref (reference_wrapper< _Tp > __t) noexcept |
Variables | |
const _Placeholder< 1 > | std::placeholders::_1 |
const _Placeholder< 10 > | std::placeholders::_10 |
const _Placeholder< 11 > | std::placeholders::_11 |
const _Placeholder< 12 > | std::placeholders::_12 |
const _Placeholder< 13 > | std::placeholders::_13 |
const _Placeholder< 14 > | std::placeholders::_14 |
const _Placeholder< 15 > | std::placeholders::_15 |
const _Placeholder< 16 > | std::placeholders::_16 |
const _Placeholder< 17 > | std::placeholders::_17 |
const _Placeholder< 18 > | std::placeholders::_18 |
const _Placeholder< 19 > | std::placeholders::_19 |
const _Placeholder< 2 > | std::placeholders::_2 |
const _Placeholder< 20 > | std::placeholders::_20 |
const _Placeholder< 21 > | std::placeholders::_21 |
const _Placeholder< 22 > | std::placeholders::_22 |
const _Placeholder< 23 > | std::placeholders::_23 |
const _Placeholder< 24 > | std::placeholders::_24 |
const _Placeholder< 25 > | std::placeholders::_25 |
const _Placeholder< 26 > | std::placeholders::_26 |
const _Placeholder< 27 > | std::placeholders::_27 |
const _Placeholder< 28 > | std::placeholders::_28 |
const _Placeholder< 29 > | std::placeholders::_29 |
const _Placeholder< 3 > | std::placeholders::_3 |
const _Placeholder< 4 > | std::placeholders::_4 |
const _Placeholder< 5 > | std::placeholders::_5 |
const _Placeholder< 6 > | std::placeholders::_6 |
const _Placeholder< 7 > | std::placeholders::_7 |
const _Placeholder< 8 > | std::placeholders::_8 |
const _Placeholder< 9 > | std::placeholders::_9 |
enable_if< (!is_member_pointer < _Functor >::value &&!is_function< _Functor > ::value &&!is_function < typename remove_pointer < _Functor >::type >::value), typename result_of< _Functor &(_Args &&...)>::type >::type | std::__invoke (_Functor &__f, _Args &&...__args) |
This is a Standard C++ Library header.
Definition in file functional.