OR-Tools  8.2
google::protobuf::util Namespace Reference

Functions

template<typename T >
void Truncate (RepeatedPtrField< T > *array, int new_size)
 
template<typename RepeatedType , typename IndexContainer = std::vector<int>>
int RemoveAt (RepeatedType *array, const IndexContainer &indices)
 

Function Documentation

◆ RemoveAt()

int RemoveAt ( RepeatedType *  array,
const IndexContainer &  indices 
)

Definition at line 40 of file protobuf_util.h.

◆ Truncate()

void Truncate ( RepeatedPtrField< T > *  array,
int  new_size 
)
inline

Definition at line 25 of file protobuf_util.h.