Boost logo

Boost :

From: Kevlin Henney (kevlin_at_[hidden])
Date: 2000-11-08 09:30:19


In message <00ef01c0498e$eb894740$120524d4_at_pdimov>, Peter Dimov
<pdimov_at_[hidden]> writes
>From: "Kevlin Henney" <kevlin_at_[hidden]>
>
>> >A question, why the <cstdlib>? Note that MSVC's <c*> headers don't put
>> >identifiers in std.
>>
>> Because any doesn't just compile with MSVC.
>
>Yes, of course, my point is that test-any.cpp doesn't use anything from
><cstdlib>, if I'm not mistaken; and if it did, you'd either get an error on
>MSVC that the identifier is not a member of std:: or an error from the real
>compilers that the identifier is in std::. <stdlib.h> would work on both -
>had it been required.

EXIT_SUCCESS and EXIT_FAILURE, which are both gtee'd to be macros, are
both used in test-any.cpp.

Kevlin
____________________________________________________________

  Kevlin Henney phone: +44 117 942 2990
  Curbralan Limited mobile: +44 7801 073 508
  mailto:kevlin_at_[hidden] fax: +44 870 052 2289
  http://www.curbralan.com
____________________________________________________________


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