Go to file
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
debian try to suppress some debian errors we don't care about 2015-11-10 09:55:05 -05:00
doc SL-14766 long unicode display names corrupt the conversation.log 2021-01-26 20:28:31 +02:00
etc SL-694 - stub support for ObjectAnimation message type 2017-05-30 22:03:43 +01:00
indra SL-10297: Make LLSingletonBase::llerrs() et al. runtime variadic. 2021-05-10 15:21:51 -04:00
scripts Merge remote-tracking branch 'origin/master' into DRTVWR-517 2020-11-13 13:59:36 +00:00
.clang-format DRTVWR-497 tweak clang-format rules for argument packing 2020-08-24 13:52:57 -06:00
.gitignore DRTVWR-476: Merge branch 'master' of lindenlab/viewer into d476 2020-06-23 22:03:43 -04:00
.hgtags Added tag 6.3.5-release for changeset 27ca5834bfe9 2019-12-12 13:15:52 -05:00
BuildParams remove duplicated EDU definitions 2018-09-05 09:12:21 -04:00
README.md Revert "Merge branch 'master' of https://bitbucket.org/lindenlab/viewer into DRTVWR-519" 2021-03-08 13:56:16 +00:00
autobuild.xml Merge branch 'master' into DRTVWR-515-maint 2021-04-01 20:45:06 +03:00
build.sh SL-13953 Builds should fail if symbols upload failed 2020-10-05 20:56:26 +03:00

README.md

Second Life Viewer

This project manages the source code for the Second Life Viewer.

This source is available as open source; for details on licensing, see the licensing page on the Second Life wiki

For information on how to use and contribute to this, see the open source portal on the wiki.

To download the current default version, visit the download page. For even newer versions try the Alternate Viewers page