[vlc-devel] [vlc-commits] Remove using namespace std; from C++ code

Rémi Denis-Courmont remi at remlab.net
Mon Jun 22 16:15:55 CEST 2015


Le 2015-06-22 16:52, git at videolan.org a écrit :
> vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon
> Jun 22 15:16:16 2015 +0200| 
> [e026c01889b100b97cd33c8a485b7ec173cf82eb]
> | committer: Hugo Beauzée-Luyssen
>
> Remove using namespace std; from C++ code

This is pointless if not actively harmful. Our public headers must be 
usable in external C++ applications code with or without the std 
namespace. AFAIU, this change hides bug that will then strike third 
parties after we release.

Also arguable we should be ready for underlying C++ library headers to 
invoke the std namespace.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list