Le 18/03/11 21:58, Andre Poenitz a écrit :
Thanks. Note that, since this is a constructor, we are supposed to
initialize this variable (and the others that predated your change)
using the selectedHasFocus_(false) idiom. I am not sure what this
buys us, though.

Nothing in case of simple types, as they won't be zero-initialized
before entering the constructor body. For complex types it saves
the cycles for the default-construction.

This makes a lot of sense. Thanks.

JMarc

Reply via email to