You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Cody Maloney (JIRA)" <ji...@apache.org> on 2014/08/28 03:07:57 UTC
[jira] [Commented] (MESOS-1742) Remove Using Directives
[ https://issues.apache.org/jira/browse/MESOS-1742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14113151#comment-14113151 ]
Cody Maloney commented on MESOS-1742:
-------------------------------------
Using directives don't greatly impact compile times as opposed to other items, see https://issues.apache.org/jira/browse/MESOS-1734 for instance. In no current compiler I've looked at is it the big speed problem, esp. compared to code in headers and the like.
> Remove Using Directives
> -----------------------
>
> Key: MESOS-1742
> URL: https://issues.apache.org/jira/browse/MESOS-1742
> Project: Mesos
> Issue Type: Story
> Components: build
> Reporter: Jessica Hartog
> Labels: build
>
> We tell developers to follow the Google C++ Style Guide (http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml) which says, "Do not use a using-directive."
> At the moment 134 files in src/ do not conform to this practice.
> $ grep -r -l "using namespace" src | wc -l
> 134
> Using directives increase compile time by requiring a larger lookup space for unqualified ids.
--
This message was sent by Atlassian JIRA
(v6.2#6252)