dont overinclude iostream headers

This commit is contained in:
Danny Robson 2016-03-17 18:10:27 +11:00
parent 1cdc6b4bad
commit 6fda597e07
4 changed files with 12 additions and 8 deletions

View File

@ -20,7 +20,7 @@
#include "point.hpp"
#include "range.hpp"
#include <iostream>
#include <ostream>
namespace util {
template <size_t S, typename T>

View File

@ -17,8 +17,6 @@
#ifndef __NOCOPY_HPP
#define __NOCOPY_HPP
#include "debug.hpp"
namespace util {
class nocopy {
protected:
@ -26,11 +24,11 @@ namespace util {
~nocopy () { ; }
private:
nocopy (const nocopy &) = delete;
nocopy& operator =(const nocopy &) = delete;
nocopy (const nocopy & ) = delete;
nocopy ( nocopy &&) = delete;
nocopy (nocopy &&) = delete;
nocopy& operator =(nocopy &&) = delete;
nocopy& operator= (const nocopy & ) = delete;
nocopy& operator= ( nocopy &&) = delete;
};
}

View File

@ -18,7 +18,7 @@
#define __UTIL_PASCAL_HPP
#include <cstdlib>
#include <iostream>
#include <ostream>
namespace util {
template <typename T>

View File

@ -20,6 +20,12 @@
#define __UTIL_POOL_IPP
#include <cstdint>
#include <new>
#include <string>
#include "./debug.hpp"
namespace util {
//-------------------------------------------------------------------------