Leosac  0.8.0
Open Source Access Control
Leosac::AtMostOneCombiner< T > Struct Template Reference

A boost::signals2 combiner that makes sure that at most one slot returns a non-null pointer. More...

#include <bs2.hpp>

Public Types

using result_type = T
 

Public Member Functions

template<typename InputIterator >
operator() (InputIterator first, InputIterator last) const
 

Detailed Description

template<typename T>
struct Leosac::AtMostOneCombiner< T >

A boost::signals2 combiner that makes sure that at most one slot returns a non-null pointer.

This combiner works for pointer object.

Definition at line 64 of file bs2.hpp.

Member Typedef Documentation

◆ result_type

template<typename T >
using Leosac::AtMostOneCombiner< T >::result_type = T

Definition at line 66 of file bs2.hpp.

Member Function Documentation

◆ operator()()

template<typename T >
template<typename InputIterator >
T Leosac::AtMostOneCombiner< T >::operator() ( InputIterator  first,
InputIterator  last 
) const
inline

Definition at line 69 of file bs2.hpp.


The documentation for this struct was generated from the following file: