Boost logo

Boost :

From: Beman Dawes (beman_at_[hidden])
Date: 2000-01-08 16:39:02

At 05:41 AM 1/8/00 +0100, Gabriel Dos Reis wrote:

>| ... Would it be
>| possible to determine if a compiler interprets the standard
likewise using
>| an attempted implicit type conversion?
>No conforming programming can tell (assuming the compiler gets it
>right :-)

I am not sure exactly the question you were asking, but here is some
code from one of my programs which determines if the compiler is
treating char as unsigned:

// verify char being compiled as unsigned; requirement for Latin-1
#if '\200' != 128
#error must compile char as unsigned


Boost list run by bdawes at, gregod at, cpdaniel at, john at