GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
chaiscript::bootstrap::standard_library::Bidir_Range< Container, IterType > Struct Template Reference

#include <bootstrap_stl.hpp>

Public Types

typedef Container container_type

Public Member Functions

 Bidir_Range (Container &c)
bool empty () const
void pop_front ()
void pop_back ()
decltype(auto) front () const
decltype(auto) back () const

Public Attributes

IterType m_begin
IterType m_end

Detailed Description

template<typename Container, typename IterType>
struct chaiscript::bootstrap::standard_library::Bidir_Range< Container, IterType >

Bidir_Range, based on the D concept of ranges.

Todo
Update the Range code to base its capabilities on the user_typetraits of the iterator passed in

Member Typedef Documentation

◆ container_type

template<typename Container, typename IterType>
typedef Container chaiscript::bootstrap::standard_library::Bidir_Range< Container, IterType >::container_type

Constructor & Destructor Documentation

◆ Bidir_Range()

template<typename Container, typename IterType>
chaiscript::bootstrap::standard_library::Bidir_Range< Container, IterType >::Bidir_Range ( Container & c)
inline

Member Function Documentation

◆ back()

template<typename Container, typename IterType>
decltype(auto) chaiscript::bootstrap::standard_library::Bidir_Range< Container, IterType >::back ( ) const
inline

◆ empty()

template<typename Container, typename IterType>
bool chaiscript::bootstrap::standard_library::Bidir_Range< Container, IterType >::empty ( ) const
inline
Here is the caller graph for this function:

◆ front()

template<typename Container, typename IterType>
decltype(auto) chaiscript::bootstrap::standard_library::Bidir_Range< Container, IterType >::front ( ) const
inline

◆ pop_back()

template<typename Container, typename IterType>
void chaiscript::bootstrap::standard_library::Bidir_Range< Container, IterType >::pop_back ( )
inline

◆ pop_front()

template<typename Container, typename IterType>
void chaiscript::bootstrap::standard_library::Bidir_Range< Container, IterType >::pop_front ( )
inline

Member Data Documentation

◆ m_begin

template<typename Container, typename IterType>
IterType chaiscript::bootstrap::standard_library::Bidir_Range< Container, IterType >::m_begin

◆ m_end

template<typename Container, typename IterType>
IterType chaiscript::bootstrap::standard_library::Bidir_Range< Container, IterType >::m_end

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