Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2020-08-14 14:16:44 +0300
committerJacques Lucke <jacques@blender.org>2020-08-14 14:16:44 +0300
commitcc6c52768a9e6d5c82f35e953a6e53ece76d3a78 (patch)
tree2318e47733e2c63eda60011b22797bad22022cbd /source/blender/windowmanager/xr
parent2d653364086d62cc9b503724c962cc466ad3e4b4 (diff)
BLI: add reverse iterators, iterator constructor and Vector.insert/prepend
The new reverse iterators behave as the reverse iterators for contains from the standard library. Have a look at the tests to see how to use them. Using them will hopefully become easier with ranges in C++20. A Vector can now be constructed from two iterators, which is very common in the standard library. New Vector.insert methods allow adding elements in the middle of a vector. These methods should not be used often in practice, because they has a linear running time. New Vector.prepend methods allow adding elements to the beginning of a vector. These methods are O(n) as well.
Diffstat (limited to 'source/blender/windowmanager/xr')
0 files changed, 0 insertions, 0 deletions