Commit Graph

3504 Commits

Author SHA1 Message Date
f5a1105d48 introspection: correct the member name offset calculations 2021-04-08 13:15:57 +10:00
6cac76e210 types/description: make_description should be constexpr
This would be possible in the general case, but is fine for fundamental
types.
2021-04-07 12:53:49 +10:00
6ba13aa25e introspection/name: add member_offset query for pointer-to-member 2021-04-07 12:53:19 +10:00
de1d9649a3 cast: allow cast::known for non-class types 2021-04-07 12:52:50 +10:00
67c5ef5d78 search::balanced should be constexpr 2021-04-07 12:52:24 +10:00
3ec1c9591b introspection: add pointer-to-member name query 2021-03-26 15:24:31 +10:00
f67b370cd3 typeidx: ensure fundamental types have a constexpr index 2021-03-25 12:02:14 +10:00
c7b711550c map/multi_fixed: add assignment operators 2021-03-09 12:14:17 +10:00
2d47875b44 map/multi_fixed: add erase_item 2021-02-09 09:39:36 +10:00
de54f4b9e0 map/multi_fixed: return erase count from erase_keys 2021-02-08 11:17:48 +10:00
b4eea9f1fe map/multi_fixed: add erase_keys 2021-02-08 09:38:29 +10:00
24d31b216b map/multi_fixed: add insert, erase, find, comparators 2021-02-05 12:04:20 +10:00
9439f76ddd set/dset: add insert for symmetry with the STL 2021-02-05 12:03:41 +10:00
146996c4ef iterator: add tuple_picker adapter 2021-02-05 12:03:18 +10:00
774ccb763d map/multi_fixed: add multimap with fixed storage 2021-02-03 16:21:42 +10:00
3416442dda preprocessor: add COUNT_MAP 2021-02-02 11:41:26 +10:00
d736ecf6e6 region: add a free function region-region intersects 2021-02-01 09:43:56 +10:00
dd1e9bbbd7 build: use more explicit headers 2021-01-20 14:19:33 +10:00
2a16ac4163 cast: remove unused 'validate' cast 2021-01-20 14:19:33 +10:00
46645e4430 maths: don't include coord headers 2021-01-20 14:19:32 +10:00
393ecede5a typeidx: add name registration 2021-01-19 12:17:23 +10:00
957c4d169f io: add expected_directory_error 2021-01-14 12:54:24 +10:00
03f702df4c alloc/chunked: add oversize chunk allocation 2021-01-14 07:48:35 +10:00
a5c69c5911 alloc/chunked: add untested initial implementation 2021-01-12 14:58:55 +10:00
bb7a4e41e6 alloc: add chunked allocator 2021-01-11 13:39:19 +10:00
2f3a767285 geom/sample: add subregion sampler for extents 2020-12-15 11:32:57 +10:00
3bf2c2205d random: use decltype for choose return type
This simplifies support for const-ref arguments
2020-12-14 13:08:39 +10:00
60b0d1d05d geom/ellipse: prefer our normal distribution for sampling
The repeatability of a common implementation is relied upon by some
client libraries which must run under libstdc++ and libcxx
2020-12-09 08:20:11 +10:00
7b070a86ad r/dist/normal: add mean and stddev accessors 2020-12-09 08:19:55 +10:00
8228a9be0f r/gen: style 2020-12-09 07:49:03 +10:00
a2fa34c619 r/dist: add the normal distribution 2020-12-09 07:47:17 +10:00
05880da691 rand/distribution: allow rvalues for uniform distributions 2020-12-03 14:37:56 +10:00
12716e8cb2 types/tagged: simplify the implementation of detail::visit 2020-12-02 12:05:26 +10:00
fdd8723bf4 types/tagged: use more explicit return types for tag 2020-12-02 12:04:45 +10:00
d5ba7e016f string: add to_upper overload for char arrays 2020-12-01 13:32:55 +10:00
2778c073a7 posix/fd: only define fallocate wrapper for Linux 2020-11-30 10:46:33 +10:00
082a0f39b6 range: instantiate more ostream operators specialisations 2020-11-30 10:44:11 +10:00
3b66bb9066 io: add an fallocate wrapper 2020-11-28 08:39:40 +10:00
88f1e8e654 colour: add srgba2f typedef 2020-11-27 16:29:41 +10:00
695f8787e1 pointer: add missing header for std::forward 2020-11-27 08:58:30 +10:00
8bfcab5f40 pointer: add thin pointer wrapper 2020-11-25 14:21:20 +10:00
252a870a22 range: correct the ostream operator template variable refs 2020-11-23 12:01:01 +10:00
4250e71d6e fixed_string: use pointers for copy to storage 2020-11-18 06:50:17 +10:00
5cea4fb7b5 rand/dist/uniform: avoid sign comparison warning in assertion 2020-11-12 13:08:11 +10:00
f091e97f11 random: prefer internal uniform distributions 2020-11-12 11:08:11 +10:00
f116422086 rand: add uniform distribution routines 2020-11-12 11:07:53 +10:00
82d3c36ebd rand/xoshiro: simplify state initialisation from seed_seq 2020-11-12 11:07:14 +10:00
7185af7961 rand/xoshiro: use a std::array to store the state
This makes it marginally easier to work use with std algorithms
2020-11-12 11:06:28 +10:00
17a85e8187 iterator/infix: avoid using references to temporaries in make_infix 2020-11-10 16:22:46 +10:00
0fe14f038d set/dset: prefer view overloads over span overloads
This lets us target both pointer ranges and dset objects with more or
less the same code.
2020-11-10 15:29:24 +10:00