Blender Git Commit Log
Git Commits -> Revision 51a131d
Revision 51a131d by Jacques Lucke (master) December 27, 2021, 15:08 (GMT) |
BLI: add utility to check if type is any specific type This adds `blender::is_same_any_v` which is the almost the same as `std::is_same_v`. The difference is that it allows for checking multiple types at the same time. Differential Revision: https://developer.blender.org/D13673 |
Commit Details:
Full Hash: 51a131ddbc2eeebd13cdc6a71b2d356267fda73e
Parent Commit: 594438e
Lines Changed: +24, -16
7 Modified Paths:
/source/blender/blenlib/BLI_memory_utils.hh (+6, -0) (Diff)
/source/blender/blenlib/BLI_virtual_array.hh (+3, -3) (Diff)
/source/blender/blenlib/tests/BLI_memory_utils_test.cc (+7, -0) (Diff)
/source/blender/functions/FN_generic_virtual_array.hh (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_volume_displace.cc (+4, -3) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_join_geometry.cc (+1, -2) (Diff)
/source/blender/nodes/NOD_geometry_exec.hh (+2, -6) (Diff)
/source/blender/blenlib/BLI_virtual_array.hh (+3, -3) (Diff)
/source/blender/blenlib/tests/BLI_memory_utils_test.cc (+7, -0) (Diff)
/source/blender/functions/FN_generic_virtual_array.hh (+1, -2) (Diff)
/source/blender/modifiers/intern/MOD_volume_displace.cc (+4, -3) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_join_geometry.cc (+1, -2) (Diff)
/source/blender/nodes/NOD_geometry_exec.hh (+2, -6) (Diff)