libsigc++ 3.6.0
Public Member Functions | List of all members
sigc::retype_functor< T_functor, T_type > Struct Template Reference

Adaptor that performs C-style casts on the parameters passed on to the functor. More...

#include <sigc++/adaptors/retype.h>

Inheritance diagram for sigc::retype_functor< T_functor, T_type >:
Inheritance graph
[legend]

Public Member Functions

 retype_functor (type_trait_take_t< T_functor > functor)
 Constructs a retype_functor object that performs C-style casts on the parameters passed on to the functor.
 
template<typename... T_arg>
decltype(autooperator() (T_arg... a)
 
- Public Member Functions inherited from sigc::adapts< T_functor >
 adapts (const T_functor &functor)
 Constructs an adaptor that wraps the passed functor.
 

Additional Inherited Members

- Public Attributes inherited from sigc::adapts< T_functor >
adaptor_type functor_
 Adaptor that is invoked from operator()().
 

Detailed Description

template <typename T_functor, typename... T_type>
struct sigc::retype_functor< T_functor, T_type >

Adaptor that performs C-style casts on the parameters passed on to the functor.

Use the convenience function sigc::retype() to create an instance of retype_functor.

The following template arguments are used:

Constructor & Destructor Documentation

◆ retype_functor()

template <typename T_functor , typename... T_type>
sigc::retype_functor< T_functor, T_type >::retype_functor ( type_trait_take_t< T_functor >  functor)
inlineexplicit

Constructs a retype_functor object that performs C-style casts on the parameters passed on to the functor.

Parameters
functorFunctor to invoke from operator()().

Member Function Documentation

◆ operator()()

template <typename T_functor , typename... T_type>
template <typename... T_arg>
decltype(auto) sigc::retype_functor< T_functor, T_type >::operator() ( T_arg...  a)
inline
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy