A collection of useful C++ routines.
Go to file
Danny Robson 82ae659fb5 build: remove allow-multiple-definition flag
Silently ignoring multiple definitions hides linking issues under
Windows in particular (eg, linking to multiple runtimes).

We don't seem to be hitting the boost bug which triggered this anymore.
2014-12-05 13:14:48 +11:00
build-aux test: run all checks through the TAP driver 2014-05-23 17:11:28 +10:00
detail coord: give names for 4 valued coord parts 2014-08-18 22:12:11 +10:00
hash adler: fix c-style cast without const error 2014-10-20 12:55:59 +11:00
m4 Add missing m4 files 2013-09-18 16:58:16 +10:00
maths maths: matrix.is_magic should check for integers 2014-07-07 15:21:17 +10:00
net remove annotations header 2014-10-17 19:24:53 +11:00
noise whitespace 2014-05-20 13:44:27 +10:00
test build: add json test data to dist 2014-10-26 18:55:24 +11:00
tools tools: don't print input data for hash 2014-09-11 15:44:16 +10:00
types types: add is_lossless_cast trait query 2014-07-15 19:51:42 +10:00
.gitignore Move json utilities to tools directory 2014-05-09 12:58:33 +10:00
backtrace_execinfo.cpp copyright headers and date bumps 2014-09-17 18:20:28 +10:00
backtrace_null.cpp Clean unused variable warning 2013-08-05 16:36:29 +10:00
backtrace_win32.cpp Initial framework for win32 backtrace 2012-05-10 16:54:47 +10:00
backtrace.hpp copyright headers and date bumps 2014-09-17 18:20:28 +10:00
bitwise.cpp bitwise: use lookup table for byte reverse 2014-09-01 16:23:46 +10:00
bitwise.hpp bitwise: add bit reverse operation 2014-07-15 19:49:29 +10:00
colour.cpp Move ostream operators into global namespace 2013-08-05 16:37:11 +10:00
colour.hpp Move ostream operators into global namespace 2013-08-05 16:37:11 +10:00
configure.ac build: remove allow-multiple-definition flag 2014-12-05 13:14:48 +11:00
debug.cpp Force win32 to use a console in debug 2012-11-09 15:17:32 +11:00
debug.hpp remove annotations header 2014-10-17 19:24:53 +11:00
Doxyfile.in Disable latex doxygen output 2013-08-05 16:36:15 +10:00
endian.cpp endian: complete reimplementation 2014-07-15 19:44:39 +10:00
endian.hpp endian: add convenience selectable convertor 2014-07-31 18:52:57 +10:00
except.cpp Place util exceptions in the util namespace 2012-05-16 15:01:01 +10:00
except.hpp Correct exception namespacing for Windows header 2012-05-17 14:16:09 +10:00
exe.cpp Categorise functionality from types.hpp 2012-05-25 15:19:07 +10:00
exe.hpp Add exe querying routines 2012-04-30 11:51:11 +10:00
extent.cpp extent: add ostream operator 2014-07-02 15:43:59 +10:00
extent.hpp extent: add ostream operator 2014-07-02 15:43:59 +10:00
fixed.cpp build: remove implicit type casting warnings 2014-07-02 15:47:53 +10:00
fixed.hpp Categorise functionality from types.hpp 2012-05-25 15:19:07 +10:00
float.cpp build: remove implicit type casting warnings 2014-07-02 15:47:53 +10:00
float.hpp Categorise functionality from types.hpp 2012-05-25 15:19:07 +10:00
fourcc.cpp build: convert c-style cast to c++ style 2014-07-02 15:42:25 +10:00
fourcc.hpp Move fourcc into seperate files 2012-11-09 15:11:02 +11:00
fwd.hpp Change my email to an active domain 2012-04-23 13:10:50 +10:00
gcc.hpp Change my email to an active domain 2012-04-23 13:10:50 +10:00
guid.cpp guid: ensure unsigned maths for shifting 2014-07-02 15:48:13 +10:00
guid.hpp Change my email to an active domain 2012-04-23 13:10:50 +10:00
hash.cpp Change my email to an active domain 2012-04-23 13:10:50 +10:00
hash.hpp Change my email to an active domain 2012-04-23 13:10:50 +10:00
image.cpp build: remove useless cast warnings 2014-07-02 15:47:53 +10:00
image.hpp image: update copyright dates 2014-06-29 22:50:59 +10:00
io.cpp io: rename mapped_file end/begin to cend/cbegin 2014-08-22 19:07:22 +10:00
io.hpp remove annotations header 2014-10-17 19:24:53 +11:00
io.ipp io: move identer ostream to util namespace 2014-08-01 20:43:51 +10:00
ip.cpp.rl sign_cast to avoid char-to-uint warning 2012-06-13 16:01:42 +10:00
ip.hpp Change my email to an active domain 2012-04-23 13:10:50 +10:00
iterator.hpp Categorise functionality from types.hpp 2012-05-25 15:19:07 +10:00
json.cpp.rl json: serialisation/instantiation from size_t 2014-09-01 16:25:24 +10:00
json.hpp json: serialisation/instantiation from size_t 2014-09-01 16:25:24 +10:00
lerp.cpp Check weight is within bounds for quintic lerp 2012-05-22 14:12:30 +10:00
lerp.hpp Add trun, cubic, and quintic lerp methods 2012-05-17 14:17:42 +10:00
log.cpp log: allow lowercase LOG_LEVEL values 2014-09-11 15:33:46 +10:00
log.hpp Add scoped_logger from waif 2013-03-05 21:38:51 +11:00
log.ipp Dont use include guard for ipp, use include errors 2012-11-09 15:17:32 +11:00
Makefile.am build: delete references to old COMMON variables 2014-12-05 13:12:18 +11:00
maths.cpp copyright headers and date bumps 2014-09-17 18:20:28 +10:00
maths.hpp remove annotations header 2014-10-17 19:24:53 +11:00
maths.ipp maths: rename divup to align 2014-09-01 16:26:01 +10:00
matrix.cpp matrix: move ostream operator into util namespace 2014-08-19 20:46:15 +10:00
matrix.hpp matrix: move ostream operator into util namespace 2014-08-19 20:46:15 +10:00
memory.cpp Add a simple malloc/free unique pointer. 2012-04-26 18:16:33 +10:00
memory.hpp Rename scoped_malloc::data to ::get 2012-05-11 12:19:06 +10:00
nocopy.hpp Make de/constructor protected in nocopy 2012-06-20 16:48:02 +10:00
noise.cpp build: remove implicit type casting warnings 2014-07-02 15:47:53 +10:00
noise.hpp Move noise functions into their own directory 2012-05-23 17:01:30 +10:00
options.cpp options: instantiate valueoptions privately 2014-10-21 21:47:10 +11:00
options.hpp options: instantiate valueoptions privately 2014-10-21 21:47:10 +11:00
pascal.cpp pascal: move ostream operators to util namespace 2014-09-01 16:26:47 +10:00
pascal.hpp pascal: move ostream operators to util namespace 2014-09-01 16:26:47 +10:00
platform.hpp Add compiler check in platform.hpp 2012-06-13 16:01:42 +10:00
point.cpp Add subtraction operators for point - vector 2013-08-06 14:31:46 +10:00
point.hpp Add point::redim implementation 2014-02-18 15:28:28 +11:00
point.ipp Add point::redim implementation 2014-02-18 15:28:28 +11:00
pool.cpp Change my email to an active domain 2012-04-23 13:10:50 +10:00
pool.hpp Move pool implementation to ipp file 2012-11-09 15:17:32 +11:00
pool.ipp pool: use cpp-style casts 2014-05-20 13:44:49 +10:00
preprocessor.hpp Rename CONCAT to PASTE and add STRINGIFY 2012-05-11 12:19:36 +10:00
quaternion.cpp Add tiny quaternion stub 2012-07-31 14:40:21 +10:00
quaternion.hpp remove annotations header 2014-10-17 19:24:53 +11:00
raii.hpp Add sectioning comments 2014-02-12 17:04:48 +11:00
random.cpp Add an instantation for random boolean 2013-07-30 14:28:22 +10:00
random.hpp Add choose implementation for fixed size arrays 2013-08-06 12:24:00 +10:00
random.ipp Dont use include guard for ipp, use include errors 2012-11-09 15:17:32 +11:00
range.cpp Remove explict json constructor from range 2014-03-06 15:22:47 +11:00
range.hpp Remove explict json constructor from range 2014-03-06 15:22:47 +11:00
rational.cpp rational: add invert, inverse, div, and mul 2014-10-20 12:56:28 +11:00
rational.hpp rational: add invert, inverse, div, and mul 2014-10-20 12:56:28 +11:00
region.cpp build: remove implicit type casting warnings 2014-07-02 15:47:53 +10:00
region.hpp region: remove vector addition operator 2014-07-02 15:47:53 +10:00
si.cpp Change my email to an active domain 2012-04-23 13:10:50 +10:00
si.hpp Change my email to an active domain 2012-04-23 13:10:50 +10:00
signal.cpp Change my email to an active domain 2012-04-23 13:10:50 +10:00
signal.hpp Move signal definitions to ipp 2013-08-06 21:23:40 +10:00
signal.ipp Move signal definitions to ipp 2013-08-06 21:23:40 +10:00
stats.cpp Instance a stats accumulator for uint64_t 2012-08-07 18:35:00 +10:00
stats.hpp Expose a reset method for stats accumulator 2012-08-07 18:34:36 +10:00
stream.cpp stream: add stream bit printing object 2014-07-15 19:50:08 +10:00
stream.hpp stream: add stream bit printing object 2014-07-15 19:50:08 +10:00
string.cpp Fix type warnings 2013-08-05 16:42:58 +10:00
string.hpp Fix type warnings 2013-08-05 16:42:58 +10:00
stringid.cpp add stringid for mapping between strings and ints 2014-05-26 17:11:07 +10:00
stringid.hpp add stringid for mapping between strings and ints 2014-05-26 17:11:07 +10:00
time.cpp build: remove implicit type casting warnings 2014-07-02 15:47:53 +10:00
time.hpp Add period query class 2013-09-20 17:33:08 +10:00
types.hpp types: add first, returns first true argument 2014-07-07 15:21:17 +10:00
vector.cpp vector: add instantiations for 4 element vectors 2014-08-19 20:46:37 +10:00
vector.hpp remove annotations header 2014-10-17 19:24:53 +11:00
version.cpp.rl Explicitly clear accumulator before parsing 2014-03-03 14:35:28 +11:00
version.hpp Reconstruct version type as a struct 2013-08-05 21:46:31 +10:00
zlib.cpp Fix use of long types in 32bit zlib wrapper 2013-08-05 16:40:15 +10:00
zlib.hpp Define the templated zlib error constructor 2013-07-30 01:42:12 +10:00