For both the (so far unused) generic KEY form and the KEY = T* form, provide key_iter, beginKeys(), endKeys(). Change instance_iter so that when dereferenced, it gives you a T& rather than a T*, to be more harmonious with a typical STL container. (You parameterize LLInstanceTracker with T, not with T*.) Fix existing usage in llfasttimer.cpp and lltimer.cpp to agree. For the KEY = T* specialization, add T* getInstance(T*) so client isn't forced to know which variant was used. Add unit tests for uniformity of public operations on both variants. |
||
|---|---|---|
| .. | ||
| bitpack_test.cpp | ||
| commonmisc_test.cpp | ||
| listener.h | ||
| llallocator_heap_profile_test.cpp | ||
| llallocator_test.cpp | ||
| llbase64_test.cpp | ||
| lldate_test.cpp | ||
| lldependencies_test.cpp | ||
| llerror_test.cpp | ||
| lleventcoro_test.cpp | ||
| lleventfilter_test.cpp | ||
| llframetimer_test.cpp | ||
| llinstancetracker_test.cpp | ||
| lllazy_test.cpp | ||
| llmemtype_test.cpp | ||
| llrand_test.cpp | ||
| llsdserialize_test.cpp | ||
| llstring_test.cpp | ||
| lltreeiterators_test.cpp | ||
| lluri_test.cpp | ||
| reflection_test.cpp | ||
| stringize_test.cpp | ||
| wrapllerrs.h | ||