memory management for assignment to vector elements

This commit is contained in:
Vern Paxson 2021-02-27 06:37:50 -08:00
parent 7adcd1b27b
commit 3a59bc1a37
2 changed files with 25 additions and 4 deletions

View file

@ -1582,6 +1582,10 @@ private:
// the case for empty vectors created using "vector()").
bool any_yield;
// True if this is a vector-of-managed-types, requiring explicit
// memory management.
bool managed_yield;
// For heterogeneous vectors, the individual type of each element,
// parallel to vector_val. Heterogeneous vectors can arise for
// "vector of any" when disparate elements are stored in the vector.