deduction guides for std::function_ref
From cppreference.com
< cpp | utility | functional | function ref
Defined in header <functional>
|
||
template< class F > function_ref( F* ) -> function_ref<F>; |
(1) | (since C++26) |
template< auto f > function_ref( std::nontype_t<f> ) -> function_ref</*see below*/>; |
(2) | (since C++26) |
template< auto f, class T > function_ref( std::nontype_t<f>, T&& ) -> function_ref</*see below*/>; |
(3) | (since C++26) |
2) Let type F be