Re: object-model: Return by value, reference or pointer? (or something else?)
From: Branko Čibej <brane_at_xbc.nu>
Date: Tue, 12 Oct 2010 21:40:23 +0200
On 12.10.2010 20:35, Hyrum K. Wright wrote:
Meh.
inline operator bool() const { return (this->c_struct_pointer != 0); }
> 2) Return everything by pointer
This would be seriously horrible since any user of the library would
> 3) Some combination of (1) & (2)
Yup, so it is, so go with (1) and do it right. :)
-- Brane
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.