Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::IterableContainerBase< T, Derived > Class Template Reference

Detailed Description

template<typename T, typename Derived>
class operations_research::IterableContainerBase< T, Derived >

Definition at line 350 of file base_types.h.

#include <base_types.h>

Public Types

using value_type = typename std::decay_t<T>::value_type
using iterator_type = decltype(std::begin(std::declval<T>()))

Public Member Functions

auto begin ()
auto end ()
auto begin () const
auto end () const

Member Typedef Documentation

◆ iterator_type

template<typename T, typename Derived>
using operations_research::IterableContainerBase< T, Derived >::iterator_type = decltype(std::begin(std::declval<T>()))

Definition at line 353 of file base_types.h.

◆ value_type

template<typename T, typename Derived>
using operations_research::IterableContainerBase< T, Derived >::value_type = typename std::decay_t<T>::value_type

Definition at line 352 of file base_types.h.

Member Function Documentation

◆ begin() [1/2]

template<typename T, typename Derived>
auto operations_research::IterableContainerBase< T, Derived >::begin ( )
inline

Definition at line 355 of file base_types.h.

◆ begin() [2/2]

template<typename T, typename Derived>
auto operations_research::IterableContainerBase< T, Derived >::begin ( ) const
inline

Definition at line 357 of file base_types.h.

◆ end() [1/2]

template<typename T, typename Derived>
auto operations_research::IterableContainerBase< T, Derived >::end ( )
inline

Definition at line 356 of file base_types.h.

◆ end() [2/2]

template<typename T, typename Derived>
auto operations_research::IterableContainerBase< T, Derived >::end ( ) const
inline

Definition at line 358 of file base_types.h.


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