Commit Graph

3316 Commits

Author SHA1 Message Date
8cdbbcb26e build: fix range-loop-analysis warnings 2020-02-17 17:40:03 +11:00
37899b3f8b view: prefer allocator_traits over allocator for pointer
allocator::pointer has been removed in c++20, so we need to be using
allocator_traits::pointer here instead.
2020-02-17 14:30:30 +11:00
0d497738ce iterator: add less-equal operators for libstdc++-10 compatibility 2020-02-17 14:29:50 +11:00
9750796e4e cpuid/x86: explicitly include iosfwd 2020-02-17 14:29:31 +11:00
9031a12890 view: remove implicit equality for strings 2020-02-17 14:29:09 +11:00
b99db1a893 cast: explicitly include string_view 2020-02-17 14:28:43 +11:00
85a502774c types: add the convert trait
This unconditionally replaces the first argument with the second.

It can be useful when dealing with parameter packs.
2020-02-07 10:15:43 +11:00
0ded941de6 singleton: rename valid as is_valid 2020-02-05 15:16:55 +11:00
c6bce64af3 quaternion: clarify that from_to result is normalised 2020-01-30 15:06:36 +11:00
44509498b7 singleton: add a public query for validity 2020-01-28 14:13:12 +11:00
46d19464b5 parse/value: style 2020-01-28 14:13:03 +11:00
450b65e2e5 posix/fd: add an ftruncate wrapper 2020-01-21 13:03:49 +11:00
0a7adfb037 cmdopt: add simple requires constraint callbacks 2020-01-17 07:58:23 +11:00
ac168e86b5 container: add free 'contains' query 2020-01-16 11:58:52 +11:00
3c768daf81 std: clarify header guarantees 2020-01-16 11:58:03 +11:00
49c0b35fe7 coord/ops: add isfinite call for vectors 2020-01-14 14:07:52 +11:00
4bea2668c3 view: prefer static_assert over SFINAE for extract
This produces more readable error messages, and we are not using
`extract` in a context where we need to disambiguate calls anyway.
2020-01-05 08:28:57 +11:00
cff7375cc1 uri: constructors should be implicit for ease of use
They don't act like other classes, or implicitly convert to other
classes, so the risks are minimal.
2020-01-02 11:20:59 +11:00
f404acfda0 view: allow extract with mutable pointers 2020-01-01 12:38:22 +11:00
8da3cc3293 iterator/infix: determine container value_type via its iterators 2020-01-01 11:08:20 +11:00
8fdb09c95c endian: add convenience typedefs for little endian sized types 2020-01-01 11:07:54 +11:00
4c35486776 endian: specialise endian converter for identity transforms 2020-01-01 11:07:30 +11:00
e05b522827 endian: add readbe to complement readle and readhe 2020-01-01 11:07:00 +11:00
61881b7c8f tools: use relative header paths
We can't guarantee that this directory is in the include path
2020-01-01 06:55:11 +11:00
5d0f879ad4 quaternion: ensure tests don't use >2PI radian parameters 2020-01-01 06:54:25 +11:00
5251c9b071 quaternion: add test for from_euler 2019-12-19 14:45:18 +11:00
16f460a2d2 quaternion: assert angles are less than a full rotation 2019-12-19 14:44:58 +11:00
0624a3ad00 coord: add to_radians for vector 2019-12-18 10:52:10 +11:00
599a932dfe types/description: add arity_traits specialisation for std::array 2019-12-16 16:16:15 +11:00
3152ed3277 mutex: silence an unused variable warning in a test 2019-12-16 08:19:44 +11:00
f5afc0130a tuple/type: add prefix query 2019-12-09 11:22:13 +11:00
de282c556e cast: remove mistaken float-equality warnings for lossless cast 2019-12-03 09:34:02 +11:00
d69d3766ba fixed_string: add a compile type string suitable for template params 2019-12-03 09:33:39 +11:00
03786f3fcc string: add to_lower and tests 2019-11-26 08:10:04 +11:00
c254846ac2 view: add equal overload that takes a parameter 2019-11-26 07:49:34 +11:00
595d062638 string: add to_upper 2019-11-26 07:49:23 +11:00
d7f9b12f82 windows: undef RELATIVE and ABSOLUTE 2019-11-18 16:44:13 +11:00
7dabd12253 view: add deduction guideline for iterator/int 2019-11-15 14:53:59 +11:00
d975c05c58 view: typos in comments 2019-11-15 14:53:51 +11:00
eb97b5ac01 view: cast to more expressive types when asserting split indices 2019-11-08 11:17:13 +11:00
762678a50f view: check the index is valid for the subscript operator 2019-11-05 14:16:31 +11:00
b479905b12 matrix: ensure the required coord headers are included for our ostream 2019-11-04 16:49:24 +11:00
df9902a0b5 tuple/value: allow calls to 'each' with empty tuples 2019-11-04 11:43:45 +11:00
f1f1a64845 debug/crash;win32: avoid an unused symbol warning 2019-10-31 13:59:38 +11:00
ffb7fde46f debug/crash: temporarily disable backtrace reporting
We're using breakpad for a few projects. It has much better
functionality.
2019-10-21 16:33:51 +11:00
a020f1d429 crash;win32: stub out a crash handler for windows 2019-10-21 12:47:26 +11:00
4768805222 crash;posix: add a forgotten iostream header 2019-10-21 12:47:09 +11:00
44abca88d6 log: workaround mingw's lack of once_flag 2019-10-21 12:46:43 +11:00
d0d9c3a676 tools: add a 'crash' tool that triggers a segfault 2019-10-10 17:33:12 +11:00
f5b702595f debug/system: enable to crash handler 2019-10-10 17:32:46 +11:00