[Development] Container refactor update

Marc Mutz marc.mutz at kdab.com
Thu Jun 21 08:24:24 CEST 2012


On Thursday June 21 2012, Marc Mutz wrote:
> >     A(const A &b) : a(sin(b.a) + cos(b.a)) {}

Btw: this class doesn't meet normal copy operation semantics and is therefore 
not something anyone would ever stuff into a container (copies do not compare 
equal). Such a class would be held by (smart) pointer instead.

-- 
Marc Mutz <marc.mutz at kdab.com> | Senior Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutions



More information about the Development mailing list