Commit Graph

3627 Commits

Author SHA1 Message Date
5ca101acf3 maths: add sum helper for containers 2023-07-21 14:21:18 +10:00
1fa4eba5d3 Add fmt::formatter specialisations for fmtlib-10 2023-07-21 14:20:49 +10:00
343b3d36ce alloc/malloc: remember to check memalign return value 2023-07-21 14:19:39 +10:00
aaa00bc989 format: add 'quoted' helper function that emulates std::quoted 2023-07-21 14:19:18 +10:00
fffd584c93 iterator/counting: allow copying of iterator 2023-07-13 06:45:47 +10:00
e7a2c18481 string: use static operator() for simple transform equality functors 2023-07-04 11:21:07 +10:00
d0cc65db50 string: correct spelling of "deprecated-declarations" 2023-05-15 11:32:34 +10:00
3efa7c2251 cpuid/x86: prefer string_view to view for output 2023-05-15 11:04:37 +10:00
facba4e799 thread/sema: name the lock temporary to silence a warning 2023-05-15 10:36:25 +10:00
5721602ef7 string: ignore codecvt deprecation for the moment 2023-05-15 10:36:03 +10:00
3e480c7bbb Use std versions of sized types
This fixes some stricter warnings and includes arising in gcc-13 and
clang-16
2023-05-15 10:33:23 +10:00
867d768108 debug: add some constexpr/consteval asserts 2023-05-15 10:32:31 +10:00
4c1fb3889a view: index operator should return auto 2023-05-15 10:32:13 +10:00
7a37d9b404 list/node: remove use of deprecated aligned_storage_t 2023-05-15 10:31:43 +10:00
537e5d40a8 job/queue: remove use of deprecated aligned_storage_t 2023-05-15 10:31:17 +10:00
f7ac00a7ce job/queue: ignore enum-constexpr-conversion for clang-16 2023-05-15 10:30:50 +10:00
161f84ef53 alloc/chunked: remove local fwd decl for std::pmr::memory_resource 2023-05-15 10:29:34 +10:00
92dda992ee fs/scoped: add scoped_dir convenience function 2022-09-27 14:55:49 +10:00
aca6d6fd08 posix/flock: add missing include guard 2022-09-19 11:03:44 +10:00
348e45260f io: add a trivial type reader for fds 2022-09-14 14:18:49 +10:00
1c0ff49bb0 posix/flock: add the lval-ref fd constructor 2022-09-14 14:18:06 +10:00
cb802824df fs/scoped: move indirection methods to parent classes 2022-08-25 15:26:24 +10:00
52e9309949 uri: silence some narrowing conversion warnings 2022-08-18 13:11:54 +10:00
1828687a7e build: add [[fallthrough]] attributes 2022-08-18 13:11:38 +10:00
2e0f6c6923 hash/siphash: add an (ugly) siphash128 implementation 2022-07-25 11:59:13 +10:00
c69a508757 posix/interface: add forgotten stdlib header 2022-07-25 11:58:59 +10:00
681474c83d parse/enum: use references for range binding iteration to avoid copies 2022-07-25 11:57:53 +10:00
013fd2bb61 adapter: remove std::iterator due to deprecation 2022-07-25 11:57:29 +10:00
77071e3334 hash/siphash: prefer short integer names 2022-07-21 15:44:07 +10:00
ea8d23bf17 hash/siphash: add 1-64 byte test vectors 2022-07-21 15:34:44 +10:00
f962653818 hash/siphash: correct the update loop bounds 2022-07-21 14:23:17 +10:00
cc3153123e hash/siphash: style 2022-07-21 14:23:09 +10:00
b3f00b2f39 hash/siphash: add support by byte array keys 2022-07-21 14:22:47 +10:00
ce2f05ede2 uri: fix empty query/fragment offsets 2022-07-19 17:04:08 +10:00
2ee2806979 adapter: add container transform adapter 2022-06-23 10:58:17 +10:00
9451083f83 backtrace_null: correct the namespace 2022-06-23 07:28:26 +10:00
10ba888a4b maths: use the std::integral concept for log2up 2022-06-20 09:31:29 +10:00
85bd599577 concepts: add the null_stringy concept 2022-06-20 09:31:29 +10:00
b54403557e cmdopt2: add tribool support 2022-06-13 15:38:16 +10:00
8b9ac3d599 parse/value: add tribool support 2022-06-13 15:37:58 +10:00
680e67eb77 bool: avoid implicit casts to bool in tribool 2022-06-13 15:37:24 +10:00
2c304f2c0b bool: add default DONTCARE constructor for tribool 2022-06-13 14:19:43 +10:00
152beff483 bool: add tribool class 2022-06-13 12:47:37 +10:00
cdaa5ebd41 introspection/enum_simple: increase the search range 2022-06-01 15:41:21 +10:00
10b21cb497 fs/scoped: add general scoped path 2022-06-01 14:55:59 +10:00
d5261b980c fs/tmp: add mktmpfile 2022-05-27 13:20:02 +10:00
d06ee4995c cmdopt2: add convenience function for lambda handlers 2022-05-24 15:10:00 +10:00
1e4d47acf9 paths: add resolve_first 2022-05-20 11:34:27 +10:00
c3866ef632 serialise: add a simple binary serialisation framework 2022-05-19 10:01:15 +10:00
dc46dc7c91 uri: store offsets rather than pointers
This simplifies copy and assignment.
2022-05-18 16:00:34 +10:00