|
Boost : |
From: Gavin Collings (gcollings_at_[hidden])
Date: 2000-02-15 08:19:05
"paul a. bristow" <pbristo-_at_[hidden]> wrote:
original article:http://www.egroups.com/group/boost/?start=2170
> This didn't seem to work with MSVC^ SP3 but perhaps this is my
incompetence.
>
> 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.
-- Gavin.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk