Blender Git Loki

Git Commits -> Revision f7c0f1b

Revision f7c0f1b by Jacques Lucke (master)
June 9, 2020, 09:58 (GMT)
BLI: rename ArrayRef to Span

This also renames `MutableArrayRef` to `MutableSpan`.
The name "Span" works better, because `std::span` will provide
similar functionality in C++20. Furthermore, a shorter, more
concise name for a common data structure is nice.

Commit Details:

Full Hash: f7c0f1b8b83ac475755b633abf59cf9f447b2d49
Parent Commit: 7d2b4ae
Lines Changed: +1065, -1055

2 Added Paths:

/source/blender/blenlib/BLI_span.hh (+644, -0) (View)
/tests/gtests/blenlib/BLI_span_test.cc (+284, -0) (View)

2 Deleted Paths:

/source/blender/blenlib/BLI_array_ref.hh (+0, -630)
/tests/gtests/blenlib/BLI_array_ref_test.cc (+0, -288)

25 Modified Paths:

/source/blender/blenkernel/intern/simulation.cc (+7, -7) (Diff)
/source/blender/blenlib/BLI_array.hh (+11, -11) (Diff)
/source/blender/blenlib/BLI_dot_export.hh (+2, -2) (Diff)
/source/blender/blenlib/BLI_index_mask.hh (+7, -7) (Diff)
/source/blender/blenlib/BLI_index_range.hh (+3, -3) (Diff)
/source/blender/blenlib/BLI_linear_allocator.hh (+14, -14) (Diff)
/source/blender/blenlib/BLI_set.hh (+3, -3) (Diff)
/source/blender/blenlib/BLI_stack.hh (+6, -6) (Diff)
/source/blender/blenlib/BLI_string_ref.hh (+3, -3) (Diff)
/source/blender/blenlib/BLI_vector.hh (+14, -14) (Diff)
/source/blender/blenlib/BLI_vector_set.hh (+7, -7) (Diff)
/source/blender/blenlib/CMakeLists.txt (+1, -1) (Diff)
/source/blender/blenlib/intern/BLI_index_range.cc (+5, -5) (Diff)
/source/blender/blenlib/intern/dot_export.cc (+2, -2) (Diff)
/source/blender/depsgraph/intern/depsgraph_registry.cc (+1, -1) (Diff)
/source/blender/depsgraph/intern/depsgraph_registry.h (+1, -1) (Diff)
/source/blender/depsgraph/intern/depsgraph_type.h (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_mask.cc (+20, -20) (Diff)
/tests/gtests/blenlib/BLI_array_test.cc (+3, -3) (Diff)
/tests/gtests/blenlib/BLI_index_mask_test.cc (+1, -1) (Diff)
/tests/gtests/blenlib/BLI_index_range_test.cc (+7, -7) (Diff)
/tests/gtests/blenlib/BLI_linear_allocator_test.cc (+10, -10) (Diff)
/tests/gtests/blenlib/BLI_stack_cxx_test.cc (+1, -1) (Diff)
/tests/gtests/blenlib/BLI_vector_test.cc (+6, -6) (Diff)
/tests/gtests/blenlib/CMakeLists.txt (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021