On 25/01/2016 14:47, Dimitry Sibiryakov wrote:
> 25.01.2016 17:29, Adriano dos Santos Fernandes wrote:
>> bool has no specific representation between compilers in the same platform.
>    AFAIK, C++ does have specific representation for bool set by standard.
>

C++03 Standard $5.3.3/1 says,

sizeof(char), sizeof(signed char) and sizeof(unsigned char) are 1; the
result of sizeof applied to any other fundamental type (3.9.1) is
implementation-defined. [Note: in particular,sizeof(bool) and
sizeof(wchar_t) are implementation-defined.69)

Footnote 69):

sizeof(bool) is not required to be 1.


Adriano


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to