On 2013-01-24 15:43, Maxim Fomin wrote:

Even if Singleton.instance returns by ref, s object is still
stack-allocated struct, which is not affected by further modification of
private pointer.

The struct is allocated using "new".

--
/Jacob Carlborg

Reply via email to