Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
internal::ConnectedComponentsTypeHelper< T, CompareOrHashT, Eq >::SelectContainer< U, V, E > Struct Template Reference

#include <connected_components.h>

Public Types

using Set = std::set<T, CompareOrHashT>
 
using Map = std::map<T, int, CompareOrHashT>
 

Detailed Description

template<typename T, typename CompareOrHashT, typename Eq>
template<typename U, typename V, typename E = void>
struct internal::ConnectedComponentsTypeHelper< T, CompareOrHashT, Eq >::SelectContainer< U, V, E >

SFINAE trait to detect hash functors and select unordered containers if so, and ordered containers otherwise (= by default).

Definition at line 153 of file connected_components.h.

Member Typedef Documentation

◆ Map

template<typename T , typename CompareOrHashT , typename Eq >
template<typename U , typename V , typename E = void>
using internal::ConnectedComponentsTypeHelper< T, CompareOrHashT, Eq >::SelectContainer< U, V, E >::Map = std::map<T, int, CompareOrHashT>

Definition at line 155 of file connected_components.h.

◆ Set

template<typename T , typename CompareOrHashT , typename Eq >
template<typename U , typename V , typename E = void>
using internal::ConnectedComponentsTypeHelper< T, CompareOrHashT, Eq >::SelectContainer< U, V, E >::Set = std::set<T, CompareOrHashT>

Definition at line 154 of file connected_components.h.


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