Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::Dft_Fold_Op< TR, TD > Struct Template Reference

Default folding operation (returns default-constructed accumulator). More...

#include <ahFunctional.H>

Public Member Functions

TR operator() (const TR &, const TD &) const noexcept(std::is_nothrow_default_constructible_v< TR >)
 Builds an accumulator by default, whatever it is given.
 

Detailed Description

template<typename TR, typename TD>
struct Aleph::Dft_Fold_Op< TR, TD >

Default folding operation (returns default-constructed accumulator).

Template Parameters
TRType of the accumulator.
TDType of the items.

Definition at line 173 of file ahFunctional.H.

Member Function Documentation

◆ operator()()

template<typename TR , typename TD >
TR Aleph::Dft_Fold_Op< TR, TD >::operator() ( const TR &  ,
const TD &   
) const
inlinenoexcept

Builds an accumulator by default, whatever it is given.

Returns
TR().
Exceptions
Anythingthat the default constructor of TR throws; it is noexcept when that constructor is.

Definition at line 181 of file ahFunctional.H.


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