libstdc++
GNU C++ library
Loading...
Searching...
No Matches

◆ operator()()

template<typename _Tp>
template<typename... _Args>
__invoke_result< _Tp &, _Args... >::type std::reference_wrapper< _Tp >::operator() ( _Args &&... __args) const
inlineconstexprnoexcept

Definition at line 358 of file refwrap.h.

361 {
362#if __cplusplus > 201703L
363 if constexpr (is_object_v<type>)
364 static_assert(sizeof(type), "type must be complete");
365#endif
constexpr __invoke_result< _Callable, _Args... >::type __invoke(_Callable &&__fn, _Args &&... __args) noexcept(__is_nothrow_invocable< _Callable, _Args... >::value)
Invoke a callable object.
Definition invoke.h:92
constexpr _Tp & get() const noexcept
Definition refwrap.h:352
Primary class template for reference_wrapper.
Definition refwrap.h:316

References std::__invoke(), std::forward(), get(), and operator()().

Referenced by operator()().

Here is the call graph for this function:
Here is the caller graph for this function: