From: Rob Stewart (stewart_at_[hidden])
Date: 2003-05-23 12:05:56
From: "John Torjo" <john_at_[hidden]>
> > #include <cstdlib>
> > using std::abort;
> > abort()
> > should be both portable and 'right' the C++ people as well.
> But I was afraid of something and ideed it happens.
> I tried compiling on VC6
> #include <cstdlib>
> using std::abort;
> - and I get a compile-time error:
> 'abort' is not a member of std.
You have to conditionally compile the using directive, but you
won't have to conditionally compile "abort" versus "std::abort"
when you do that.
-- Rob Stewart stewart_at_[hidden] Software Engineer http://www.sig.com Susquehanna International Group, LLP using std::disclaimer;
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk