[sldev] Uses of LLString and std::string ?
Alissa Sabre
alissa_sabre at yahoo.co.jp
Wed Jan 23 05:58:58 PST 2008
I have a question.
SL viewer uses two data types LLString and std::string, that are
almost identical. They are sometimes intermixed. LLString to
std::string conversion is by a simple upcasting, but the opposit is by
a deep copy through a constructor that requires some overhead.
What is the purpose of LLString? In case it has some, then the next
question is why LL uses both LLString and std::string? (Cf. LL never
uses C++ bool type.)
Assuming there is a good reason to use both LLString and std::string
in SL viewer, what is the criteria (or guidelines) to choose from
LLString and std::string?
Alissa Sabre
--------------------------------------
Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar
http://pr.mail.yahoo.co.jp/toolbar/
More information about the SLDev
mailing list