ChaiScript
Public Types | Public Member Functions | Public Attributes | List of all members
chaiscript::bootstrap::standard_library::Bidir_Range< Container, IterType > Struct Template Reference

Bidir_Range, based on the D concept of ranges. More...

#include <bootstrap_stl.hpp>

Public Types

using container_type = Container
 

Public Member Functions

constexpr Bidir_Range (Container &c)
 
constexpr bool empty () const noexcept
 
constexpr void pop_front ()
 
constexpr void pop_back ()
 
decltype(auto) constexpr front () const
 
decltype(auto) constexpr 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

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