The STL in Visual Studio has a series of defines that mark certain
features as deprecated and throw compiler warnings and errors:
#define _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_WARNINGS

<string> includes <istream> which includes <ostream> which includes
<ios> and on it goes.

So basically, yes.

----- Rom

-----Original Message-----
From: Oliver Bock [mailto:[email protected]] 
Sent: Friday, January 11, 2013 1:10 PM
To: Rom Walton
Cc: [email protected]
Subject: Re: [boinc_dev] Regression in f72fef8

On 1/11/13 19:04 , Rom Walton wrote:
> Why should std::string be treated differently than BOOL, PSID, HDESK, 
> HWINSTA, etc?

It shouldn't be, in general. But you made the case for not including
window.h which might justify not including it - it's a special case.
std::string doesn't have that problem, does it?

Please review what I replied to your mentioning of the minimal inclusion
principle.

Oliver

_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to