Horde3D
http://horde3d.org/forums/

beef: using directive
http://horde3d.org/forums/viewtopic.php?f=1&t=536
Page 1 of 1

Author:  akarm [ 20.10.2008, 18:24 ]
Post subject:  beef: using directive

Hello Horders,

Despite the compactness and the shiny, I have a gripe:
"using namespace ..." in header files.

If there are no objections, I will task an underling with the job of removing the offending code and qualifying the headers.

R.

Author:  Fidora [ 20.10.2008, 19:19 ]
Post subject:  Re: beef: using directive

I agree the "using namespace" should be removed from the headers, namespaces are there for a reason.

Author:  swiftcoder [ 20.10.2008, 23:07 ]
Post subject:  Re: beef: using directive

Full agreement - using is sort of OK in cpp files, but not safe in headers.

Author:  akarm [ 24.10.2008, 20:57 ]
Post subject:  Re: beef: using directive

Here's a patch to remove the using directives from the headers.

It goes on top of the SVN repository found here:
http://mm-werkstatt.informatik.uni-augs ... ic/Horde3D

Rob.

Attachments:
File comment: no using patch
Horde3D_no_using_namespace_std.zip [15.42 KiB]
Downloaded 725 times

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/