Clang: Smallstring should not depend on std::ostream

We move the io operators in an extra header file because if we would
include ostream in smallstring.h we would blow the compile time.

Change-Id: Iea61ceedbbbcdd2adc6dc149794dab6e743084f8
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Marco Bubke
2016-08-08 16:27:07 +02:00
committed by Tim Jenssen
parent 44f62d10ad
commit 092df2edaa
9 changed files with 249 additions and 216 deletions

View File

@@ -29,9 +29,9 @@
#include <QString>
#include <utils/smallstringvector.h>
#include <utils/smallstring.h>
#include <utils/smallstringio.h>
#include <utils/smallstringvector.h>
#ifndef __cpp_constexpr
#define constexpr