28 Feb
2019
28 Feb
'19
3:33 a.m.
On 27/02/2019 22:05, Tim Burgess wrote:
Just to be clear, is it just "using namespace boost;" I need to worry about, or do I also need to strip out entries like "using namespace boost::filesystem;"?
"using namespace boost" is the only one that would cause that specific error (when used before some CRT #include), but as I did say:
(Then also follow this rule for any "using namespace" statements, because they may eventually bite you similarly.)
you should avoid it in general. "using namespace" is a shotgun; you need to be careful both of what you're pointing it at, as well as where you're standing when you do so.