npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
npstat::Element1DAt< Container, Result > Struct Template Reference

#include <SimpleFunctors.hh>

Inheritance diagram for npstat::Element1DAt< Container, Result >:
npstat::Functor1< typename Container::value_type, Container >

Public Member Functions

 Element1DAt (const unsigned long index)
 
Result operator() (const Container &c) const
 
bool operator== (const Element1DAt &r) const
 
bool operator!= (const Element1DAt &r) const
 

Additional Inherited Members

- Public Types inherited from npstat::Functor1< typename Container::value_type, Container >
typedef typename Container::value_type result_type
 
typedef Container first_argument_type
 

Detailed Description

template<class Container, class Result = typename Container::value_type>
struct npstat::Element1DAt< Container, Result >

Functor which extracts a given element from a random access linear container with bounds checking


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