cast: move types/casts to cast

This commit is contained in:
Danny Robson 2015-11-17 16:19:27 +11:00
parent 78e0455800
commit 424e6e8701
17 changed files with 19 additions and 19 deletions

View File

@ -33,6 +33,7 @@ UTIL_FILES = \
bezier.hpp \
bitwise.cpp \
bitwise.hpp \
cast.hpp \
cmdopt.cpp \
cmdopt.hpp \
cmdopt.ipp \
@ -297,7 +298,6 @@ UTIL_FILES = \
tuple.cpp \
tuple.hpp \
types/bits.hpp \
types/casts.hpp \
types/comparator.hpp \
types/comparator.ipp \
types.hpp \

View File

@ -20,7 +20,7 @@
#include "./debug.hpp"
#include "./exe.hpp"
#include "./io.hpp"
#include "types/casts.hpp"
#include "cast.hpp"
#include <sstream>
#include <iomanip>

View File

@ -14,10 +14,10 @@
* Copyright 2011 Danny Robson <danny@nerdcruft.net>
*/
#ifndef __UTIL_TYPES_CASTS_HPP
#define __UTIL_TYPES_CASTS_HPP
#ifndef __UTIL_CAST_HPP
#define __UTIL_CAST_HPP
#include "../debug.hpp"
#include "./debug.hpp"
#include <type_traits>
#include <limits>

View File

@ -22,7 +22,7 @@
#if defined(PLATFORM_LINUX)
#include "except.hpp"
#include "types/casts.hpp"
#include "cast.hpp"
#include <sys/stat.h>
#include <sys/types.h>

View File

@ -20,7 +20,7 @@
#include "debug.hpp"
#include "endian.hpp"
#include "types.hpp"
#include "types/casts.hpp"
#include "cast.hpp"
#include <algorithm>
#include <cassert>

2
io.cpp
View File

@ -19,7 +19,7 @@
#include "debug.hpp"
#include "except.hpp"
#include "platform.hpp"
#include "types/casts.hpp"
#include "cast.hpp"
#include <cstdio>
#include <fcntl.h>

View File

@ -20,7 +20,7 @@
#include "ip.hpp"
#include "types/casts.hpp"
#include "cast.hpp"
#include <stdexcept>
#include <iostream>

View File

@ -23,7 +23,7 @@
#include "debug.hpp"
#include "io.hpp"
#include "maths.hpp"
#include "types/casts.hpp"
#include "cast.hpp"
#include <algorithm>
#include <cstdlib>

View File

@ -20,7 +20,7 @@
#include "../../except.hpp"
#include "../../maths.hpp"
#include "../../pointer.hpp"
#include "../../types/casts.hpp"
#include "../../cast.hpp"
#include <sys/mman.h>

View File

@ -17,7 +17,7 @@
#include "./system.hpp"
#include "../except.hpp"
#include "../types/casts.hpp"
#include "../cast.hpp"
#include <unistd.h>

View File

@ -17,7 +17,7 @@
#include "except.hpp"
#include "../debug.hpp"
#include "../types/casts.hpp"
#include "../cast.hpp"
//-----------------------------------------------------------------------------

View File

@ -18,7 +18,7 @@
#include "../debug.hpp"
#include "../except.hpp"
#include "../types/casts.hpp"
#include "../cast.hpp"
#include "../log.hpp"
#include "except.hpp"

View File

@ -1,6 +1,6 @@
#include "./distance.hpp"
#include "../../../extent.hpp"
#include "../../../types/casts.hpp"
#include "../../../cast.hpp"
///////////////////////////////////////////////////////////////////////////////

View File

@ -18,7 +18,7 @@
#include "region.hpp"
#include "debug.hpp"
#include "types/casts.hpp"
#include "cast.hpp"
#include <cmath>
#include <type_traits>

View File

@ -18,7 +18,7 @@
#include <cstring>
#include "types/casts.hpp"
#include "cast.hpp"
// TODO: Horribly inefficient, but God help you if you're relying on this
// being efficient in the first place.

View File

@ -19,7 +19,7 @@
#include "debug.hpp"
#include "log.hpp"
#include "platform.hpp"
#include "types/casts.hpp"
#include "cast.hpp"
using namespace util;

View File

@ -16,7 +16,7 @@
#include "time.hpp"
#include "types/casts.hpp"
#include "cast.hpp"
#include <ctime>