On 2011-11-19 23:48, lists.secondlife@trap.wereanimal.net wrote:
> Hi all.
>
> In the LLSingleton header, there is a comment:
>
> // Reference version of getInstance()
> // Preferred over getInstance() as it disallows checking for NULL
>
> My question is, is there a difference between
> MyClass
Hi all.
In the LLSingleton header, there is a comment:
// Reference version of getInstance()
// Preferred over getInstance() as it disallows checking for NULL
My question is, is there a difference between
MyClass::instance()->someFunction(); and
MyClass::getInstance()->someFunction(); ?
If not,