Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::xpressive::op::at Struct Reference

at is a PolymorphicFunctionObject for indexing into a sequence More...

#include <regex_actions.hpp>

Classes

struct  result
 
struct  result< This(Cont &, Idx)>
 
struct  result< This(Cont const &, Idx)>
 
struct  result< This(Cont, Idx)>
 

Public Member Functions

template<typename Cont , typename Idx >
Cont::reference operator() (Cont &c, Idx idx BOOST_PROTO_DISABLE_IF_IS_CONST(Cont)) const
 
template<typename Cont , typename Idx >
Cont::const_reference operator() (Cont const &c, Idx idx) const
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 

Detailed Description

at is a PolymorphicFunctionObject for indexing into a sequence

Member Function Documentation

template<typename Cont , typename Idx >
Cont::reference boost::xpressive::op::at::operator() ( Cont &  c,
Idx idx   BOOST_PROTO_DISABLE_IF_IS_CONSTCont 
) const
inline
Precondition
Cont is a model of RandomAccessSequence
Parameters
cThe RandomAccessSequence to index into
idxThe index
Returns
c[idx]
template<typename Cont , typename Idx >
Cont::const_reference boost::xpressive::op::at::operator() ( Cont const &  c,
Idx  idx 
) const
inline

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.


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