cast: move types/casts to cast
This commit is contained in:
parent
78e0455800
commit
424e6e8701
@ -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 \
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include "./debug.hpp"
|
||||
#include "./exe.hpp"
|
||||
#include "./io.hpp"
|
||||
#include "types/casts.hpp"
|
||||
#include "cast.hpp"
|
||||
|
||||
#include <sstream>
|
||||
#include <iomanip>
|
||||
|
@ -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>
|
2
exe.cpp
2
exe.cpp
@ -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>
|
||||
|
@ -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
2
io.cpp
@ -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>
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
#include "ip.hpp"
|
||||
|
||||
#include "types/casts.hpp"
|
||||
#include "cast.hpp"
|
||||
|
||||
#include <stdexcept>
|
||||
#include <iostream>
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include "debug.hpp"
|
||||
#include "io.hpp"
|
||||
#include "maths.hpp"
|
||||
#include "types/casts.hpp"
|
||||
#include "cast.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstdlib>
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include "../../except.hpp"
|
||||
#include "../../maths.hpp"
|
||||
#include "../../pointer.hpp"
|
||||
#include "../../types/casts.hpp"
|
||||
#include "../../cast.hpp"
|
||||
|
||||
#include <sys/mman.h>
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
#include "./system.hpp"
|
||||
|
||||
#include "../except.hpp"
|
||||
#include "../types/casts.hpp"
|
||||
#include "../cast.hpp"
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
#include "except.hpp"
|
||||
|
||||
#include "../debug.hpp"
|
||||
#include "../types/casts.hpp"
|
||||
#include "../cast.hpp"
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
#include "../debug.hpp"
|
||||
#include "../except.hpp"
|
||||
#include "../types/casts.hpp"
|
||||
#include "../cast.hpp"
|
||||
#include "../log.hpp"
|
||||
#include "except.hpp"
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "./distance.hpp"
|
||||
#include "../../../extent.hpp"
|
||||
#include "../../../types/casts.hpp"
|
||||
#include "../../../cast.hpp"
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include "region.hpp"
|
||||
|
||||
#include "debug.hpp"
|
||||
#include "types/casts.hpp"
|
||||
#include "cast.hpp"
|
||||
|
||||
#include <cmath>
|
||||
#include <type_traits>
|
||||
|
@ -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.
|
||||
|
2
time.cpp
2
time.cpp
@ -19,7 +19,7 @@
|
||||
#include "debug.hpp"
|
||||
#include "log.hpp"
|
||||
#include "platform.hpp"
|
||||
#include "types/casts.hpp"
|
||||
#include "cast.hpp"
|
||||
|
||||
|
||||
using namespace util;
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
#include "time.hpp"
|
||||
|
||||
#include "types/casts.hpp"
|
||||
#include "cast.hpp"
|
||||
|
||||
#include <ctime>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user