Commit Graph

17 Commits

Author SHA1 Message Date
2658b41ea1 relicence under Apache-2.0 2015-04-13 18:05:28 +10:00
751f06dc3e traits: add try_signed convertor 2015-03-20 01:32:28 +11:00
d4d5eaa6f8 traits: add func_traits for return types 2015-03-10 22:52:17 +11:00
8e5bd17974 t/traits: comments 2015-02-18 02:33:51 +11:00
c4df8bf905 t/casts: simplify trunc_cast, combine size_cast 2015-02-17 16:20:46 +11:00
7ba92838df t/traits: rename always_unsigned to try_unsigned 2015-02-17 16:20:15 +11:00
52f53caee5 debug: drop support for CHECK_HARD
HARD vs SOFT assertions were never very well defined or supported.
Currently they just imply a level of functionality that isn't present;
it's better to remove them instead of expending the effort at this
point.
2015-01-28 14:49:34 +11:00
5820b75764 types: add is_lossless_cast trait query 2014-07-15 19:51:42 +10:00
cb1824a387 types: include referenced header 2014-07-15 19:51:23 +10:00
f90ff0e9f6 Add a unique_ptr/ptr comparator object 2012-11-09 15:17:32 +11:00
8cb01aae18 use correct type in known_cast dynamic test 2012-08-15 17:44:29 +10:00
481f55a9c4 Add known_cast to type casts 2012-06-20 16:48:40 +10:00
9124791a59 Use lowest instead of min in casting checks 2012-06-14 18:31:58 +10:00
6ff8405c6a Allow sign_cast to same type 2012-06-13 16:01:42 +10:00
93275a43a7 Add size_cast for size reductions 2012-06-08 16:46:03 +10:00
4899f08772 Add always_unsigned type conversion template 2012-05-25 15:30:11 +10:00
f9cc4926f2 Categorise functionality from types.hpp 2012-05-25 15:19:07 +10:00