Blender Git Commit Log

Git Commits -> Revision 686452f

Revision 686452f by Jacques Lucke (master)
April 17, 2021, 17:06 (GMT)
BLI: add Vector.append_as method

This method is similar to `std::vector::emblace_back` in that it constructs
the new object inplace in the vector, removing the need for a move.

The `_as` suffix is consistent with similar behavior in Map and Set data structures.

Commit Details:

Full Hash: 686452fb1bcf9454df8d816443925746f6645ca0
Parent Commit: e4990a5
Lines Changed: +17, -5

1 Modified Path:

/source/blender/blenlib/BLI_vector.hh (+17, -5) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021