[ 
https://issues.apache.org/jira/browse/MESOS-3450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14791747#comment-14791747
 ] 

Guangya Liu commented on MESOS-3450:
------------------------------------

RR: https://reviews.apache.org/r/38452/ 

[~bmahler] can you please help review? Thanks!

> Update Mesos C++ Style Guide for namespace usage
> ------------------------------------------------
>
>                 Key: MESOS-3450
>                 URL: https://issues.apache.org/jira/browse/MESOS-3450
>             Project: Mesos
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 0.25.0
>            Reporter: Guangya Liu
>            Assignee: Guangya Liu
>             Fix For: 0.25.0
>
>
> Discussed with [~bmahler] , the current C++ style guide do not including the 
> usage for namespace, we need to update the document to tell developers how to 
> use namespace for future coding.
> In general we avoid 'using namespace foo' statements as it is not explicit 
> about which symbols are pulled in, and it can often pull in a lot of symbols, 
> which sometimes lead to conflicts.
> we're going to need namespace aliases to help pull in subnamespaces, e.g. 
> namespace http = process::http; but this isn't in the style guide yet, we 
> need to update the style guide to reflect this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to