Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
internal Namespace Reference

Classes

struct  ConnectedComponentsTypeHelper
 

Functions

template<typename T, typename IndexType>
void ExtendContainerWithValueUntil (const IndexType until, const T extend_with_value, std::vector< T > &container)
 

Function Documentation

◆ ExtendContainerWithValueUntil()

template<typename T, typename IndexType>
void internal::ExtendContainerWithValueUntil ( const IndexType until,
const T extend_with_value,
std::vector< T > & container )

Extends the underlying container to have length at least until+1. Any newly added value is initialized to extend_with_value.

Definition at line 860 of file mps_reader_template.h.