"Fossies" - the Fresh Open Source Software Archive

Member "libsigc++-3.0.0/docs/docs/reference/html/structsigc_1_1retype__return__functor_3_01void_00_01T__functor_01_4.html" (5 Sep 2019, 11902 Bytes) of package /linux/misc/libsigc++-3.0.0.tar.xz:

Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. You can here alternatively try to browse the pure source code or just view or download the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the project site itself.

libsigc++  3.0.0
Public Member Functions | List of all members
sigc::retype_return_functor< void, T_functor > Struct Template Reference

Adaptor that performs a C-style cast on the return value of a functor. More...

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

Inheritance diagram for sigc::retype_return_functor< void, T_functor >:
Inheritance graph

Public Member Functions

 retype_return_functor ()=default
 retype_return_functor (type_trait_take_t< T_functor > functor)
template<typename... T_arg>
void operator() (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. More...

Additional Inherited Members

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

Detailed Description

template<typename T_functor>
struct sigc::retype_return_functor< void, T_functor >

Adaptor that performs a C-style cast on the return value of a functor.

This template specialization is for a void return. It drops the return value of the functor it invokes. Use the convenience function sigc::hide_return() to create an instance of sigc::retype_return_functor<void>.

Constructor & Destructor Documentation

template <typename T_functor >
sigc::retype_return_functor< void, T_functor >::retype_return_functor ( )
template <typename T_functor >
sigc::retype_return_functor< void, T_functor >::retype_return_functor ( type_trait_take_t< T_functor >  functor)

Member Function Documentation

template <typename T_functor >
template <typename... T_arg>
void sigc::retype_return_functor< void, T_functor >::operator() ( T_arg...  a)