[
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)