souffle  2.0.2-371-g6315b36
Public Member Functions | Data Fields
souffle::reverse< A > Struct Template Reference

Use to range-for iterate in reverse. More...

#include <ContainerUtil.h>

Collaboration diagram for souffle::reverse< A >:
Collaboration graph

Public Member Functions

auto begin ()
 
auto end ()
 
 reverse (A &iterable)
 

Data Fields

A & iterable
 

Detailed Description

template<typename A>
struct souffle::reverse< A >

Use to range-for iterate in reverse.

Assumes std::rbegin and std::rend are defined for type A.

Definition at line 57 of file ContainerUtil.h.

Constructor & Destructor Documentation

◆ reverse()

template<typename A >
souffle::reverse< A >::reverse ( A &  iterable)
inline

Definition at line 58 of file ContainerUtil.h.

59 {

Referenced by souffle::mk().

Member Function Documentation

◆ begin()

template<typename A >
auto souffle::reverse< A >::begin ( )
inline

Definition at line 61 of file ContainerUtil.h.

Referenced by souffle::mk().

◆ end()

template<typename A >
auto souffle::reverse< A >::end ( )
inline

Definition at line 65 of file ContainerUtil.h.

Field Documentation

◆ iterable

template<typename A >
A& souffle::reverse< A >::iterable

Definition at line 59 of file ContainerUtil.h.

Referenced by souffle::mk().


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