Boost logo

Boost :

From: Howard Hinnant (hinnant_at_[hidden])
Date: 2008-02-08 18:10:03


On Feb 8, 2008, at 5:36 PM, Peter Dimov wrote:

> This is what I tried:

This test is all wrong.

>
>
> unsigned __stdcall threadproc( void* pv )
> {
> int k = (int)pv;
>
> assert( k >= 0 && k < 5 );

This should be:

     asssert( 0 <= k && k < 5);

...

Just kidding around! :-)

Thanks Peter! Very interesting.

-Howard


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk