BLI: Add std::string variant of BLI_uniquename_cb #114052

Merged
Sergey Sharybin merged 2 commits from Sergey/blender:unique_name_stdstring into main 2023-10-24 11:36:02 +02:00

2 Commits

Author SHA1 Message Date
Sergey Sharybin 87152fd0ec Expand testing of the BLI_uniquename_cb
- Add tests for C version of the function, for behavior comparison.
- Add tests of more cases of naming collisions for C++ version.
2023-10-24 10:55:07 +02:00
Sergey Sharybin 5f8f136640 BLI: Add std::string variant of BLI_uniquename_cb
Allows to ensure unique name for cases when name is a dynamically
sized string.
2023-10-23 10:02:45 +02:00