Vcsn
2.0
Be Rational
|
Restrict the interface of a container to begin/end. More...
#include <crange.hh>
Public Types | |
using | unref_C = typename std::remove_reference< C >::type |
using | value_type = typename unref_C::value_type |
using | const_iterator = typename unref_C::const_iterator |
Public Member Functions | |
container_range (const unref_C &cont) | |
auto | begin () const -> decltype(this->cont_.begin()) |
auto | end () const -> decltype(this->cont_.end()) |
auto | front () const -> decltype(this->cont_.front()) |
The first element. More... | |
auto | back () const -> decltype(this->cont_.back()) |
The last element. More... | |
auto | empty () const -> decltype(this->cont_.empty()) |
auto | size () const -> decltype(this->cont_.size()) |
Private Attributes | |
const C | cont_ |
Restrict the interface of a container to begin/end.
using vcsn::container_range< C >::const_iterator = typename unref_C::const_iterator |
using vcsn::container_range< C >::unref_C = typename std::remove_reference<C>::type |
using vcsn::container_range< C >::value_type = typename unref_C::value_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |