You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Gavin (JIRA)" <ji...@apache.org> on 2019/04/29 09:28:12 UTC
[jira] [Issue Comment Deleted] (MESOS-4183) Move operator<<
definitions to .cpp files and include in .hpp where possible.
[ https://issues.apache.org/jira/browse/MESOS-4183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gavin updated MESOS-4183:
-------------------------
Comment: was deleted
(was: www.rtat.net)
> Move operator<< definitions to .cpp files and include <iosfwd> in .hpp where possible.
> --------------------------------------------------------------------------------------
>
> Key: MESOS-4183
> URL: https://issues.apache.org/jira/browse/MESOS-4183
> Project: Mesos
> Issue Type: Improvement
> Components: build
> Reporter: Alexander Rukletsov
> Assignee: Alexander Rukletsov
> Priority: Minor
> Labels: mesosphere
> Fix For: 0.27.0
>
>
> We often include complex headers like {{<ostream>}} in ".hpp" files to define {{operator<<()}} inline (e.g. "mesos/authorizer/authorizer.hpp"). Instead, we can move definitions to corresponding ".cpp" files and replace stream headers with {{iosfwd}}, for example, this is partially done for {{URI}} in "mesos/uri/uri.hpp".
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)