Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NoOperation< ReturnType > Struct Template Reference

Detailed Description

template<typename ReturnType>
struct thrill::common::NoOperation< ReturnType >

The noop functor, which takes any arguments and does nothing. This is a good default argument for lambda function parameters.

Definition at line 40 of file functional.hpp.

#include <functional.hpp>

Public Member Functions

 NoOperation (ReturnType return_value=ReturnType())
ReturnType operator() (...) const noexcept

Public Attributes

ReturnType return_value_

Constructor & Destructor Documentation

NoOperation ( ReturnType  return_value = ReturnType())

Definition at line 43 of file functional.hpp.

Member Function Documentation

ReturnType operator() (   ...) const

Definition at line 46 of file functional.hpp.

References NoOperation< ReturnType >::return_value_.

Member Data Documentation

ReturnType return_value_

Definition at line 41 of file functional.hpp.

Referenced by NoOperation< ReturnType >::operator()().

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