Re: boolean bit fields

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Thu, 24 Jan 2013 10:12:52 -0700

On 01/24/2013 09:27 AM, Kinkie wrote:

> From what I understand, the current consensus is to use :1'ed bools, right?

I hope the consensus is to use full bools (because they are simpler and
often faster) except where memory footprint of the structure is both
affected _and_ important (a rare case). In those rare cases, use bool:1.

HTH,

Alex.
Received on Thu Jan 24 2013 - 17:13:04 MST

This archive was generated by hypermail 2.2.0 : Fri Jan 25 2013 - 12:00:09 MST