Commit Graph

43 Commits

Author SHA1 Message Date
50b2105df5 build: clang-tidy fixes 2021-04-19 14:52:22 +10:00
082a0f39b6 range: instantiate more ostream operators specialisations 2020-11-30 10:44:11 +10:00
252a870a22 range: correct the ostream operator template variable refs 2020-11-23 12:01:01 +10:00
cdb3ded3df range: add definition for range-scalar addition 2019-05-29 12:58:46 +10:00
8beada1646 debug: split debug headers into components 2019-05-17 12:26:08 +10:00
f6056153e3 rename root namespace from util to cruft
This places, at long last, the core library code into the same namespace
as the extended library code.
2018-08-05 14:42:02 +10:00
803acc9a87 relicense under MPL-2.0 2018-08-04 15:14:06 +10:00
3aaddd1d2b json: move json code to external module
This module can now be found at git://git.nerdcruft.net/libcruft-json.git
2018-08-04 15:02:06 +10:00
497d3ca970 build: update for gcc-8.1 warnings 2018-05-03 18:32:08 +10:00
959bc85987 range: add signed integer instantiations 2017-08-15 16:44:54 +10:00
2e0fa64494 range: convert static members to constexpr methods 2016-12-21 16:44:48 +11:00
d24c979c6b range: define static members before first use 2016-11-17 18:38:08 +11:00
c037055c95 range: add subtraction operator definition 2015-09-29 17:31:20 +10:00
7ae57730f0 whitespace 2015-04-13 18:06:08 +10:00
2658b41ea1 relicence under Apache-2.0 2015-04-13 18:05:28 +10:00
98312c2c37 range: add interpolation accessor 2015-03-11 16:27:37 +11:00
f77cb9d1d8 range: add size query 2015-02-20 20:50:12 +11:00
ab2996745e range: fully qualify util and std 2015-02-20 20:45:39 +11:00
f0ea25ed97 range: comment sections 2015-02-20 20:40:01 +11:00
9d6be23dd5 range: templatise normalise methods return type 2015-02-17 16:19:22 +11:00
60787655b3 json: split json impl files into tree and flat 2015-02-03 00:15:07 +11:00
cfc0f8ecd0 json: move tree parsing code to json::tree 2015-02-02 21:26:56 +11:00
03a95ac05b Remove explict json constructor from range 2014-03-06 15:22:47 +11:00
71fcd082aa Allow range::normalise to return non-unit values 2014-02-18 16:00:48 +11:00
c0dcdd89d9 Add MAX range object 2012-06-15 16:38:24 +10:00
4fa7789786 Instantiate templates in their enclosing namespace 2012-06-13 16:01:42 +10:00
f3b829e232 Add a soft bounds check for range::normalise 2012-05-24 17:07:17 +10:00
aabbf231c5 Add more scalar operators for range 2012-05-24 15:03:26 +10:00
ea9d6c175d Support initial NaN range with range::expand 2012-05-23 20:42:05 +10:00
f1505e8b31 Remove return type from range::expand 2012-05-23 17:01:54 +10:00
be0426ff24 Add range expansion method 2012-05-22 14:12:06 +10:00
4f5d75a1df Make all check macros uppercase 2012-05-11 12:34:21 +10:00
17667f991f Use new style as_{type} in json to range 2012-04-20 18:05:25 +10:00
45d8cfffbf Rename "to_<type>" functions to "as_<type>"
'to' implies a copy, 'as' implies reinterpret.
2012-04-12 16:08:06 +10:00
af97b70377 Add floating specialisations for range::random 2012-01-04 17:05:09 +11:00
bd12deed4e Correctly set max for region json extractor 2011-10-29 21:44:30 +11:00
6e2ba427f9 Correctly bias the range::random function with min 2011-10-03 19:20:46 +11:00
2e091079d2 Don't abbreviate the util::range::rand function 2011-10-03 19:20:14 +11:00
9e5f60b1bd Instance all uint_t ranges 2011-09-13 15:12:57 +10:00
306f852fc7 Move range to the util namespace 2011-08-15 20:11:42 +10:00
1fc1dd4134 Change range::includes to range::contains
Contains is more descriptive (of the actual implementation) as it
implies the entire argument is within the range. Includes should also be
provided at some point.
2011-07-29 17:38:07 +10:00
16e4cde82d Add instantiation of range for size_t 2011-06-15 22:37:17 +10:00
745e06d1af initial import from waif 2011-05-23 17:18:52 +10:00