LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
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.

References fhicl::detail::atom::value().

39  {
40  return _BinaryOperation()( value, entry.second );
41  }
std::string value(boost::any const &)

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