Commit Graph

3362 Commits

Author SHA1 Message Date
bde7cc58c7 map/fixed: add a find function, and use it internally 2019-06-04 17:42:59 +10:00
538349cb3f types/dispatch: add forgotten header guard 2019-06-04 15:42:02 +10:00
07840dbc54 array/parray: add erase function 2019-06-02 11:10:31 +10:00
bca58bf352 array/parray: add empty query 2019-06-02 11:10:23 +10:00
04fd13fe42 array/parray: add resize function 2019-06-02 11:09:58 +10:00
3e08d64927 array/parray: add default move operators 2019-06-02 11:09:44 +10:00
822243f86d parse/enum: return a cookie we could use for cleanup on setup 2019-06-01 10:06:15 +10:00
6a77ed074a types/dispatch: test against correct widths for integer dispatch 2019-05-30 13:17:10 +10:00
cc7d4eb0a9 parse/enum: allow translation of enum string to integer with typeidx 2019-05-30 12:33:28 +10:00
5e3af7f8fb parse/enum: add basic typeid enum parsing 2019-05-30 11:54:56 +10:00
de33f8c8ce types/dispatch: remember to include the original enum tag 2019-05-30 10:51:49 +10:00
41edd3cebe types/description: add initial enum support 2019-05-30 10:43:28 +10:00
d3f23ed754 typeidx: prohibit return of zero values 2019-05-30 10:43:05 +10:00
e4ce92454c parse/value: add bool specialisation 2019-05-30 10:42:25 +10:00
cdb3ded3df range: add definition for range-scalar addition 2019-05-29 12:58:46 +10:00
25746b2036 test/introspection: add more templated type_name tests 2019-05-28 13:48:45 +10:00
a21f09493d types/description: add a validation specialisation 2019-05-28 10:47:29 +10:00
5ba25330d0 pool: don't forget to initialise the store pointer in move construction 2019-05-27 10:57:35 +10:00
5e17e5d275 buffer/circular: use the new form of 'random::choose' 2019-05-26 12:11:28 +10:00
14e1e7e7c1 random: choose should return iterators/pointers 2019-05-26 10:11:01 +10:00
0d7c2628f3 view: add noexcept copy/move assign/construct conditions 2019-05-24 12:16:37 +10:00
2153feafc1 thread/spinlock: assert the lock isn't held at destruction 2019-05-24 12:05:38 +10:00
747cfa9237 thread/spinlock: don't try to lock during a move operation 2019-05-24 11:47:19 +10:00
ec883c3009 parallel/stack: allow zero capacity construction 2019-05-24 11:46:55 +10:00
ad9d5d991c pool: ensure indices are pushed low to high 2019-05-24 11:31:44 +10:00
25a74badd6 thread/spinlock: add move assignment 2019-05-24 11:21:43 +10:00
257275e0f5 parallel/stack: add move operators 2019-05-24 11:21:31 +10:00
fb36953135 pool: use voidptr storage to avoid definition requirements for users 2019-05-24 11:04:43 +10:00
19409d67ca build: add a 'util_test' target 2019-05-24 10:58:32 +10:00
f3e0744e18 test/pool: make allocation tests more robust against allocator issues 2019-05-24 10:57:35 +10:00
34a5f7d52b parallel/stack: add clear and size queries 2019-05-23 16:43:13 +10:00
422a12258c parallel/stack: add view accessor for underlying data 2019-05-23 16:42:57 +10:00
ef56c29b22 parallel/stack: add move operator stubs 2019-05-23 16:42:38 +10:00
e033cb2e4f parallel/stack: Add a trivial thread safe stack 2019-05-23 15:21:07 +10:00
4b3e04ccd6 test/pool: spelling 2019-05-23 12:38:49 +10:00
afd601940c pool: initial attempts at clear 2019-05-23 12:36:52 +10:00
d4ba9fa061 pool: remove typed base queries, tighten alignment tests 2019-05-22 17:20:24 +10:00
bdbcb0788d pool: add clear function 2019-05-22 15:05:10 +10:00
ab0bb60602 pool: add move constructor 2019-05-22 15:05:00 +10:00
32e06e889e vector: note the representation of polar angles 2019-05-21 17:44:34 +10:00
f6b1f47e23 coord/traits: add value_trait specialisation for vector 2019-05-21 17:44:18 +10:00
34a69f5656 types/description: rename the size query for description to 'bytes'
This tends to cause less confusion for consumers about the exact meaning
of 'size'. It gets confused with arity quite often.
2019-05-20 12:30:04 +10:00
7805153e17 nocopy: remove deprecated header 2019-05-17 13:44:14 +10:00
8beada1646 debug: split debug headers into components 2019-05-17 12:26:08 +10:00
6bc13544dd types/description: add support for coordinate types 2019-05-17 10:55:49 +10:00
50f38c21af map/fixed: add a const index operator 2019-05-17 10:50:09 +10:00
37f5d77622 iterator/referencing: change relation operators to be const 2019-05-17 10:49:40 +10:00
a4d963e00b debug: move panic related calls to a distinct unit
This will allow us to reduce the required headers and avoid some
circular dependencies in some client libraries.
2019-05-17 10:48:29 +10:00
644cae506f view: move alignment test for cast into the implementation
Moving the alignment test from SFINAE into the implementation as a
static_assert means that users don't need to include the implementation
for types where `cast` isn't called. Otherwise, iterator_traits requires
a definition to work with.
2019-05-15 13:03:38 +10:00
c7689960be types/description: add a not-equal operator 2019-05-15 13:03:25 +10:00