STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
Functions
Specializations for stand-alone begin.

The specializations for stand-alone iterator operations such as begin and end. More...

Functions

template<typename T >
auto stapl::begin (stapl::proxy< T, edge_accessor< T >> &&t) -> decltype(const_cast< stapl::proxy< T, edge_accessor< T >> const &&>(t).begin())
 Specialization of stand-alone begin for rvalue references to a proxy with an edge_accessor. More...
 
template<typename T >
auto stapl::begin (stapl::proxy< T, edge_accessor< T >> &t) -> decltype(const_cast< stapl::proxy< T, edge_accessor< T >> const &>(t).begin())
 Specialization of stand-alone begin for lvalue references to a proxy with an edge_accessor. More...
 
template<typename T >
auto stapl::end (stapl::proxy< T, edge_accessor< T >> &&t) -> decltype(const_cast< stapl::proxy< T, edge_accessor< T >> const &&>(t).end())
 Specialization of stand-alone end for rvalue references to a proxy with an edge_accessor. More...
 
template<typename T >
auto stapl::end (stapl::proxy< T, edge_accessor< T >> &t) -> decltype(const_cast< stapl::proxy< T, edge_accessor< T >> const &>(t).end())
 Specialization of stand-alone end for lvalue references to a proxy with an edge_accessor. More...
 
template<typename T >
auto stapl::begin (T &&t) -> decltype(t.begin())
 
template<typename T >
auto stapl::end (T &&t) -> decltype(t.end())
 General implementation of end that redirects it to type.end().
 

Detailed Description

The specializations for stand-alone iterator operations such as begin and end.

General implementation of stand-alone begin that redirects it to type.begin().

Function Documentation

◆ begin() [1/2]

template<typename T >
auto stapl::begin ( stapl::proxy< T, edge_accessor< T >> &&  t) -> decltype( const_cast<stapl::proxy<T, edge_accessor<T>> const&&>(t).begin())

Specialization of stand-alone begin for rvalue references to a proxy with an edge_accessor.

Example: auto it = stapl::begin(proxy<T, edge_accessor<T>>(t));

◆ begin() [2/2]

template<typename T >
auto stapl::begin ( stapl::proxy< T, edge_accessor< T >> &  t) -> decltype( const_cast<stapl::proxy<T, edge_accessor<T>> const &>(t).begin())

Specialization of stand-alone begin for lvalue references to a proxy with an edge_accessor.

Example: proxy<T, edge_accessor<T>> p(t); auto it = stapl::begin(p);

◆ end() [1/2]

template<typename T >
auto stapl::end ( stapl::proxy< T, edge_accessor< T >> &&  t) -> decltype( const_cast<stapl::proxy<T, edge_accessor<T>> const&&>(t).end())

Specialization of stand-alone end for rvalue references to a proxy with an edge_accessor.

Example: auto it = stapl::end(proxy<T, edge_accessor<T>>(t));

◆ end() [2/2]

template<typename T >
auto stapl::end ( stapl::proxy< T, edge_accessor< T >> &  t) -> decltype( const_cast<stapl::proxy<T, edge_accessor<T>> const &>(t).end())

Specialization of stand-alone end for lvalue references to a proxy with an edge_accessor.

Example: proxy<T, edge_accessor<T>> p(t); auto it = stapl::end(p);