phoenix-firestorm/indra
Nat Goodspeed 95d8085fa4 SL-10297: Make LLSingletonBase::llerrs() et al. runtime variadic.
Instead of accepting a fixed list of (const char* p1="", etc.), accept
(std::initializer_list<std::string_view>). Accepting a
std::initializer_list<T> in your parameter list allows coding (e.g.)
func({T0, T1, T2, ... });
-- in other words, you can pass the initializer_list a brace-enclosed list of
an arbitrary number of instances of T.

Using std::string_view instead of const char* means we can pass *either* const
char* or std::string. string_view is cheaply constructed from either, allowing
uniform treatment within the function.

Constructing string_view from std::string simply extracts the pointer and
length from the std::string.

Constructing string_view from const char* (e.g. a "string literal") requires
scanning the string for its terminating nul byte -- but that would be
necessary even if the scan were deferred until the function body. Since
string_view stores the length, the scan still happens only once.
2021-05-10 15:21:51 -04:00
..
cmake Merge branch 'master' into DRTVWR-515-maint 2021-03-09 21:56:14 +02:00
copy_win_scripts
doxygen
integration_tests Revert "Merge branch 'master' of https://bitbucket.org/lindenlab/viewer into DRTVWR-519" 2021-03-08 13:56:16 +00:00
lib/python/indra
linux_crash_logger Revert "Merge branch 'master' of https://bitbucket.org/lindenlab/viewer into DRTVWR-519" 2021-03-08 13:56:16 +00:00
llappearance Revert "Merge branch 'master' of https://bitbucket.org/lindenlab/viewer into DRTVWR-519" 2021-03-08 13:56:16 +00:00
llaudio Revert "Merge branch 'master' of https://bitbucket.org/lindenlab/viewer into DRTVWR-519" 2021-03-08 13:56:16 +00:00
llcharacter Revert "Merge branch 'master' of https://bitbucket.org/lindenlab/viewer into DRTVWR-519" 2021-03-08 13:56:16 +00:00
llcommon SL-10297: Make LLSingletonBase::llerrs() et al. runtime variadic. 2021-05-10 15:21:51 -04:00
llcorehttp Merge branch 'master' of https://bitbucket.org/lindenlab/viewer/src/master into DRTVWR-515-maint 2021-02-01 22:28:15 +02:00
llcrashlogger Revert "Merge branch 'master' of https://bitbucket.org/lindenlab/viewer into DRTVWR-519" 2021-03-08 13:56:16 +00:00
llimage Revert "Merge branch 'master' of https://bitbucket.org/lindenlab/viewer into DRTVWR-519" 2021-03-08 13:56:16 +00:00
llimagej2coj
llinventory Revert "Merge branch 'master' of https://bitbucket.org/lindenlab/viewer into DRTVWR-519" 2021-03-08 13:56:16 +00:00
llkdu
llmath SL-14119 Crash at LLVolumeFace::cacheOptimize 2020-10-14 11:48:07 +03:00
llmessage Merge branch 'master' into DRTVWR-515-maint 2021-03-09 21:56:14 +02:00
llplugin Merge branch 'master' into DRTVWR-513-maint 2020-11-11 22:14:24 +02:00
llprimitive SL-14993 Crash accessing mInvBindMatrix 2021-03-23 20:54:54 +02:00
llrender Revert "Merge branch 'master' of https://bitbucket.org/lindenlab/viewer into DRTVWR-519" 2021-03-08 13:56:16 +00:00
llui Merge branch 'master' into DRTVWR-515-maint 2021-04-01 20:45:06 +03:00
llvfs Revert "Merge branch 'master' of https://bitbucket.org/lindenlab/viewer into DRTVWR-519" 2021-03-08 13:56:16 +00:00
llwindow Merge branch 'master' into DRTVWR-515-maint 2021-04-01 20:45:06 +03:00
llxml Revert "Merge branch 'master' of https://bitbucket.org/lindenlab/viewer into DRTVWR-519" 2021-03-08 13:56:16 +00:00
mac_crash_logger Revert "Merge branch 'master' of https://bitbucket.org/lindenlab/viewer into DRTVWR-519" 2021-03-08 13:56:16 +00:00
media_plugins
newview Increment viewer version to 6.4.19 2021-04-29 12:26:23 -04:00
test Revert "Merge branch 'master' of https://bitbucket.org/lindenlab/viewer into DRTVWR-519" 2021-03-08 13:56:16 +00:00
tools/vstool
viewer_components
win_crash_logger Revert "Merge branch 'master' of https://bitbucket.org/lindenlab/viewer into DRTVWR-519" 2021-03-08 13:56:16 +00:00
CMakeLists.txt Revert "Merge branch 'master' of https://bitbucket.org/lindenlab/viewer into DRTVWR-519" 2021-03-08 13:56:16 +00:00
edit-me-to-trigger-new-build.txt
fix-incredibuild.py