Commit Graph

3637 Commits

Author SHA1 Message Date
9c5b471b24 iterator: modify to allow iteration over c arrays 2017-09-15 15:21:25 +10:00
c222e4e960 view: constructor should take iterators by constref
who knows how big the iterators are, or if they can be moved.
2017-09-14 13:24:08 +10:00
015dff80a0 view: add nulling move operations 2017-09-14 13:13:45 +10:00
d0e49fb1a8 debug: expose NDEBUG as a constexpr bool 2017-09-13 12:37:53 +10:00
c1aa0f7a3d io: slurp should default to providing bytes, not chars
std::byte has less potential for abuse. if you want an array of chars
you should ask for it.
2017-09-12 14:18:34 +10: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
a2995186f6 traits: add nth_argument trait query 2017-09-10 12:42:18 +10:00
ca3851c4de tuple: `ignore' should be noexcept 2017-09-08 17:03:22 +10:00
edfe4b73bb introspection: identify the bug that CLANG_WORKAROUND addresses 2017-09-08 17:02:33 +10:00
8e7f23c4dd traits: add trivial type_traits tests 2017-09-08 14:20:01 +10:00
d79b7da067 types/traits: make func_traits more robust 2017-09-08 14:19:46 +10:00
fb5614ae2b types/traits: add remove_member_const 2017-09-08 14:19:28 +10:00
bb07f6573c type/traits: add remove_noexcept 2017-09-08 14:19:03 +10:00
a307b5f777 types/traits: add chaining type modifier 2017-09-08 14:10:57 +10:00
c105fb4d0f debug: fully qualify panic detail functions
silences warnings under clang
2017-09-08 14:10:11 +10:00
a1c8c8e2ac types/traits add remove_noexcept and func_traits 2017-09-06 13:31:02 +10:00
9cfaade94b preprocessor: add variadic REDUCE for PASTE 2017-09-05 14:29:58 +10:00
40c4fbc5ed introspection: add forgotten required header 2017-09-01 14:17:03 +10:00
1567ad790c iterator: add the make_infix helper function 2017-09-01 13:36:27 +10:00
77d5bf0cb7 iterator: add simple explanation of infix_iterator 2017-09-01 13:36:13 +10:00
acfbec871a view: remove noexcept from redim
redim can throw, it shouldn't be noexcept...
2017-08-31 13:51:21 +10:00
0e97044adf allow/raw: rename base as begin 2017-08-31 13:48:33 +10:00
367fc1dcb1 view: add redim operation 2017-08-31 13:03:19 +10:00
a9f8594b26 maths: rename round_to as round_up
this shows more explicitly the rounding policy we're using
2017-08-30 15:39:02 +10:00
885b0b4669 pointer: add some comments... 2017-08-30 15:38:13 +10:00
5126bb486c maths: revert invalid 'simplification' of round_to 2017-08-30 15:37:39 +10:00
4826b4c466 maths: add some comments to rounding functions 2017-08-30 15:23:42 +10:00
0f4fece00f alloc/raw/linear: add constructor from range types 2017-08-30 15:13:43 +10:00
4a92981379 view: we really don't need a dedicated find function 2017-08-30 15:13:24 +10:00
9da28a64c9 memory/deleter: use more descriptive template param names 2017-08-30 13:42:49 +10:00
cfc8cb5691 allow/raw/stack: remove unused ipp file 2017-08-29 16:59:54 +10:00
9d5e599246 alloc: seperate out the raw allocators from the adapters 2017-08-29 16:53:11 +10:00
417175b2dd alloc/arena: add descriptive comment for arena 2017-08-29 12:28:59 +10:00
2cb5fd7391 geom/sample: prefer inline impl over ipp files 2017-08-29 12:28:54 +10:00
a91df8895d geom: prefer inline implementation over ipp 2017-08-29 12:19:58 +10:00
b2cf1ae188 random: add forgotten template param to distributions 2017-08-28 16:02:04 +10:00
107947899c random: remove generator choice from easy API
it's supposed to be an easy replacement for std::rand, we don't need to
let the user choose their generator.
2017-08-28 14:12:36 +10:00
31afd9dcfd coord/ops: initial stubs for coord::apply 2017-08-28 12:59:06 +10:00
c0df6bf8a2 coord/ops: move make_coord higher for visibility
latter code may require make_coord it should be above most of the
operations.
2017-08-28 12:58:18 +10:00
c4e367e648 coord: use std::size_t over size_t 2017-08-28 12:25:23 +10:00
3799135236 coord: add general vector comparison function 2017-08-27 12:32:00 +10:00
e7fe5d044a extent: prefer to use brace initialisation 2017-08-27 12:30:09 +10:00
9aa0ba8f55 test: use constexpr for test data where possible 2017-08-27 12:28:56 +10:00
cde0fe882e vector: add more convenience typedefs for bools 2017-08-27 12:28:00 +10:00
677a0aa4a9 coord/ops: use vector ops for point difference 2017-08-27 12:27:26 +10:00
31652ed3a3 coord/base: add clarifying comment to index assertion 2017-08-27 11:37:52 +10:00
8f216a0a27 coord/base: don't use std::fill in constexpr constructor 2017-08-27 11:37:18 +10:00
3c9dcba2fb coord/ops: add rshift coord operation
shifts each element to the right `num' places and fills the left space
with a constant or elements from another vector.
2017-08-25 13:05:45 +10:00
e9ef2ae316 sarray: add assignment operator for completeness in test 2017-08-24 17:53:46 +10:00
8f6af0f837 job/queue: make single argument constructor explicit 2017-08-24 17:53:27 +10:00