Commit Graph

29 Commits

Author SHA1 Message Date
f6056153e3 rename root namespace from util to cruft
This places, at long last, the core library code into the same namespace
as the extended library code.
2018-08-05 14:42:02 +10:00
803acc9a87 relicense under MPL-2.0 2018-08-04 15:14:06 +10:00
3b5197f065 introspection: add type_name for std::byte 2018-08-01 13:08:54 +10:00
cd8a12ed28 introspection: use 'i' prefix for signed type_names
This brings the values into line with the constants in std
2018-08-01 13:08:13 +10:00
0351313c36 Merge branch 'master' into coord 2017-11-23 17:24:11 +11:00
34788756d2 build: don't use './' as an include prefix
GCC produces ODR error when including paths of the form './foo' and
'foo' in the same binary. Rather than managing duplication we just
universally pick the absolute form over the relative form.
2017-11-22 16:49:37 +11:00
4050754ab4 preprocessor: use a script to create map/reduce
We need over 300 arguments for some projects and I'm not going to code
that shit by hand.
2017-09-12 14:17:30 +10:00
edfe4b73bb introspection: identify the bug that CLANG_WORKAROUND addresses 2017-09-08 17:02:33 +10:00
40c4fbc5ed introspection: add forgotten required header 2017-09-01 14:17:03 +10:00
e019270a1f variadic: use make_index_sequence from the stdlib 2017-06-13 14:47:58 +10:00
a59f6ffc69 build: remove explicit constexpr instantiations
GCC7 no longer requires these instantiations, and in fact produces a
warning/error in these cases. So we remove them.
2017-06-08 15:49:25 +10:00
7a8e1ddb6f introspection: change constexpr arrays to const
clang doesn't much like non-literal types as constexpr. We can live with
them as const values for the time being, so lets do that to avoid too
much code churn.
2017-05-16 17:12:14 +10:00
dca8b174c6 build: add forgotten clang/gcc7 headers 2017-05-16 17:12:14 +10:00
4e993f2d4d introspection: add type_char trait 2017-02-09 16:48:42 +11:00
cc4f91f393 introspection: add filesystem::path type_name specialisation 2017-01-31 20:30:16 +11:00
9116404f30 introspection: work around clang static constexpr arrays 2016-12-21 16:46:16 +11:00
a10c091114 introspection: use pointers over arrays for type_name
It's too hard to diagnose undefined symbol issues under clang so we use
pointers for the time being.
2016-11-17 18:38:09 +11:00
bc8cac0e1e introspection: remove type_name's empty default definition 2016-08-13 21:02:57 +10:00
25a9c6fafc introspection: rename type_string to type_name 2016-07-28 13:45:09 +10:00
b1eb9982d1 introspection: add more types to type_string 2016-04-27 16:05:16 +10:00
ab330cc520 add ref-qualifiers to avoid dangling refs/ptrs 2016-03-17 18:05:28 +11:00
678462ba65 introspection: add type_string_v 2016-03-16 19:27:22 +11:00
5b91320a95 introspection: namespace fixes for enums 2016-03-14 22:34:14 +11:00
2786b88bd1 introspection: type_string specialisations for strings 2016-03-14 22:33:22 +11:00
6a6335163e introspection: add enum code generation macros 2016-03-11 19:16:35 +11:00
76179f264b introspection: add fundamental types for type_string 2016-03-11 13:15:50 +11:00
faaa49c7e9 introspection: add type_string and enum_values 2016-03-11 13:02:52 +11:00
70c65c2bb2 introspection: map tuples to themselves in type_tuple 2015-05-01 02:49:19 +10:00
199be3213a introspection: add simple static introspection types 2015-04-20 17:51:00 +10:00