All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
util::SumSecondFunction< _Key, _Value, _BinaryOperation > Class Template Reference

#include <SumSecondFunction.h>

Inheritance diagram for util::SumSecondFunction< _Key, _Value, _BinaryOperation >:

Public Member Functions

const _Value operator() (const _Value &value, const std::pair< _Key, _Value > &entry) const
 

Detailed Description

template<typename _Key, typename _Value, typename _BinaryOperation = std::plus<_Value>>
class util::SumSecondFunction< _Key, _Value, _BinaryOperation >

Definition at line 31 of file SumSecondFunction.h.

Member Function Documentation

template<typename _Key , typename _Value , typename _BinaryOperation = std::plus<_Value>>
const _Value util::SumSecondFunction< _Key, _Value, _BinaryOperation >::operator() ( const _Value &  value,
const std::pair< _Key, _Value > &  entry 
) const
inline

Definition at line 37 of file SumSecondFunction.h.

39  {
40  return _BinaryOperation()( value, entry.second );
41  }
temporary value

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