Alexander Rukletsov created MESOS-4183:
------------------------------------------
Summary: 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
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
(v6.3.4#6332)