On 2012-10-13 14:04 , Tobias Schlüter wrote:
On 2012-10-13 20:00, Diego Novillo wrote:
On 2012-10-13 09:26 , Tobias Schlüter wrote:
first a question also to non-gfortraners: if I want to use std::map,
where do I "#include <map>"? In system.h?
No. Ada includes system.h in pure C code. Why not include it exactly
where you need it?
Ok, I was just wondering if there's a rule because a quick grep revealed
no non-header source file that includes system headers.
Joseph or others may have reason to create a system.hxx file or some
such, but in principle I don't see why we shouldn't include std library
headers as we need them.
Joseph?
Diego.