Boost logo

Boost :

From: Gavin Collings (gcollings_at_[hidden])
Date: 2000-02-15 08:19:05

"paul a. bristow" <pbristo-_at_[hidden]> wrote:
original article:
> This didn't seem to work with MSVC^ SP3 but perhaps this is my
> Would you like to send the complete example file for me to try?

You can just add the following lines if you want to try it out.

const int i = 5;
const int j = 5;

require( i == j );
require( i != j );

But I've just managed to try it out on MSVC myself. I got warnings
about operations with no side effects for the success case. It
correctly halted with an error for the failure, but didn't print out
the string. Unfortunately, I think it's one we'll have to consign to
the scrap heap.


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