how des "GetSize().foo = NULL" work
-
Can somebody explain the following construct and when would you use it? GetSize().foo = NULL; thanks... Happy New Year... sun.lcr
-
Can somebody explain the following construct and when would you use it? GetSize().foo = NULL; thanks... Happy New Year... sun.lcr
When GetSize() returns a reference to an object, and .foo is a pointer? -- Weiter, weiter, ins verderben. Wir müssen leben bis wir sterben. I blog too now[^]
-
When GetSize() returns a reference to an object, and .foo is a pointer? -- Weiter, weiter, ins verderben. Wir müssen leben bis wir sterben. I blog too now[^]
Thank your Jorgen, Could you show me a sample of how you would set that in a class and its use... Thanks again... Happy New Year... :) sun.lcr
-
Thank your Jorgen, Could you show me a sample of how you would set that in a class and its use... Thanks again... Happy New Year... :) sun.lcr
struct Y {
void* foo;
};class X {
Y obj;public:
Y& GetX();
};X x;
x.GetX().foo = NULL;-- I got nasty habits. I take tea at three. -- Mick Jagger I blog too now[^]