Commit Graph

3399 Commits

Author SHA1 Message Date
e61216a593 io: use the actual path when loggin failures 2019-02-27 15:33:07 +11:00
f381c24f29 types: add a 'has_native' trait
Returns true if 'ValueT::native ()' is available.
2019-02-27 11:14:45 +11:00
6dadff769e posix: prefer invoke over manual calls 2019-02-24 21:34:27 +11:00
ee96cbb5da build: add initial meson experiments 2019-02-22 12:41:19 +11:00
35916e2854 rand/pcg: add pcg_xsh_rr generator 2019-02-21 20:53:58 +11:00
6142f7fb1d random: separate the generator initialisation code 2019-02-21 20:53:32 +11:00
8f88569f61 rand: conform to the std generator concept 2019-02-21 20:53:07 +11:00
7746463c5a array/varray: allow construction from containers 2019-02-21 17:40:38 +11:00
2f6c845409 string: fixup tokeniser::contains 2019-02-20 15:51:54 +11:00
2ce92cb2c8 string: add stub 'contains' query 2019-02-20 14:45:57 +11:00
5025f832ca gitlab-ci: Use the official Arch linux image 2019-02-10 12:50:18 +11:00
3d8acbf9cc ascii: fix hex2u08 name in tests 2019-02-09 14:59:42 +11:00
54ec225a5a random: don't use default_random_engine by default 2019-02-09 14:57:22 +11:00
4581f8ce00 ascii: rename hex2u8 as hex2u08 2019-02-09 14:57:02 +11:00
2a9be46d54 view: add front and back observers 2019-02-08 11:59:24 +11:00
80e9542328 expected: add trivial then method. 2019-02-07 17:33:47 +11:00
4497c1ac97 expected: add forgotten header guard 2019-02-07 17:20:35 +11:00
fc252ee209 expected: add trivial expected implementation 2019-02-07 17:12:59 +11:00
8706c39ab7 quaternion: add slerp and nlerp 2019-02-07 15:45:08 +11:00
cbf4a716ac quaternion: expand elementwise and scalar operators 2019-02-07 15:44:15 +11:00
040db9118c array/sarray: add move constructor 2019-02-06 17:03:52 +11:00
d57a4dddc2 debug: pretend to return the same type in unhandled 2019-02-05 18:16:36 +11:00
e7dda93a36 functor: add construct and tuple_construct 2019-02-05 12:13:53 +11:00
a2592edc53 iterator: add full iterator_traits for cruft::zip 2019-02-05 11:58:57 +11:00
9982ea2bb7 functor: add begin and end convenience transforms 2019-02-05 11:58:31 +11:00
b87517759d io: don't forget to initialise the mmap size for zero length mappings 2019-02-03 18:23:22 +11:00
4a4d5f297a types/traits: use LessThanComparable more consistently 2019-02-03 17:28:53 +11:00
fd1fda9145 bitwise: use free equality operator for bitfields 2019-02-03 16:38:53 +11:00
5cdabcb583 maths: remove duplicate equality test helpers 2019-02-03 16:38:06 +11:00
f41ffe339c endian: be less clever with value operators 2019-02-03 16:37:08 +11:00
5218fa8165 bitwise: add explicit accessor get 2019-02-03 14:16:58 +11:00
5d76fb7792 bitwise: add bitfield tests 2019-02-03 14:03:38 +11:00
cf268a1960 bitwise: offset should start from least significant bits 2019-02-03 13:52:56 +11:00
ddc24b076b view: avoid unsigned comparison warnings in split's assert 2019-02-03 12:29:49 +11:00
ab6840c7fc parse: don't use relative includes for generated sources 2019-02-03 12:29:33 +11:00
f1cf6933a9 view: add more assertions in slicing code 2019-02-03 11:37:03 +11:00
f7c477b163 iterator: add 'iota' pseudo-container 2019-02-03 11:37:03 +11:00
abb9d4c3aa colour: use view::consume with unsigned types 2019-02-03 11:37:03 +11:00
0349d24473 posix/interface: move data holding into the container 2019-02-02 20:39:32 +11:00
a64e721cf0 posix/interface: add initial interface query logic 2019-02-02 19:09:35 +11:00
46ff7299bf posix/socket: allow binding with sockaddr 2019-02-02 18:11:30 +11:00
54df664071 cpuid: connect the 'none' provider 2019-02-02 17:01:03 +11:00
3a518fbac8 cpuid: add null fallback 2019-02-02 16:40:37 +11:00
c5633a32c5 cpuid: move specifics into a directory 2019-02-02 16:37:46 +11:00
c4a67c7fc9 cpuid: avoid directly including x86 specifics 2019-02-02 16:34:39 +11:00
bb7be903b1 build: only build x86 cpuid on support architectures 2019-02-02 15:49:50 +11:00
85e9dba38c io_posix: test the file size can actually be cast to size_t 2019-02-02 15:36:20 +11:00
72bd68e60b except: error::describe shouldn't be noexcept
We can't guarantee noexcept because std::ostream& can be pretty liberal
with exceptions.
2019-02-02 15:35:44 +11:00
1f6caaa242 thread/primitive: add platform wrappers for pause/yield instructions 2019-02-02 14:55:13 +11:00
8c934fbd2c parse: move internal helpers into an anonymous namespace 2019-02-02 13:48:48 +11:00