Commit Graph

59 Commits

Author SHA1 Message Date
Glen Fernandes
32278d9291 Correction in is_aligned_integral_test.cpp 2019-05-20 13:28:04 -04:00
Glen Fernandes
f8907c99d7 Support aligned_allocator<void> without specialization 2019-05-18 13:50:47 -04:00
Glen Fernandes
8caa2c0af0 Support for any integral and any pointer types
Covers is_aligned, align_up, and align_down.
2019-05-18 08:36:54 -04:00
Glen Fernandes
596d8ec67b Add workaround and update tests for Windows Clang variant 2019-04-23 19:16:04 -04:00
Glen Fernandes
7862ca1d56 Use stateful allocators in newer tests 2018-11-27 08:46:59 -05:00
Glen Fernandes
783449098d Add compile tests for incomplete types 2018-11-26 20:07:11 -05:00
Glen Fernandes
c36f816531 Rename Jamfile.v2 to Jamfile 2018-09-19 21:22:10 -04:00
Glen Fernandes
9f6361fc66 Remove conditional value_type typedef and update documentation 2017-05-03 23:23:53 -04:00
Glen Fernandes
4bbfff78c5 Simplify aligned_delete unit test 2017-05-03 16:16:18 -04:00
Glen Fernandes
6147f01a6d Reformat source; wrap at 80 characters 2017-05-03 08:44:31 -04:00
Glen Fernandes
0ed2702511 Unit test for alignment_of now compiles faster 2017-03-23 22:48:26 -04:00
Glen Fernandes
f90f7ba4f2 Correct unit tests for adaptor and trait 2017-03-23 22:48:26 -04:00
Glen Fernandes
3bfcbc523f Revise code, documentation, tests 2017-03-23 22:48:26 -04:00
Glen Fernandes
d86fbd4be3 Update comments to pass Boost inspect 2017-02-01 22:54:21 -05:00
Glen Fernandes
f0ed3a34ff Revert unit tests to use automatic allocation 2016-08-29 22:10:41 -04:00
Glen Fernandes
9fa8e7e5c1 Remove is_aligned overload 2016-04-02 14:51:42 -04:00
Glen Fernandes
c60c73c1ac Remove aligned_alloc customization for now 2016-02-07 16:47:32 -05:00
Glen Fernandes
8f53dc3a0b Update align implementation and tests 2015-12-20 02:33:50 -05:00
Glen Fernandes
68cbd95e6b Update assume_aligned compile test 2015-12-19 20:38:16 -05:00
Glen Fernandes
edda2df996 Add custom allocate test case 2015-12-19 19:56:47 -05:00
Glen Fernandes
e06e7dbf8b Clean up includes and refactor aligned_alloc 2015-12-19 17:51:56 -05:00
Glen Fernandes
07c4cc008e Minor formatting changes 2015-12-18 08:39:39 -05:00
Glen Fernandes
46edbf6a4c Update documentation and tests 2015-12-17 00:24:52 -05:00
Glen Fernandes
19ee455e02 Update is_aligned_test for MSVC
MSVC has an elastic definition of alignment. Alignment requirement
promises in MSVC only reliably apply to objects on the heap.
2015-12-16 22:44:44 -05:00
Glen Fernandes
f001ed1d5c Update is_aligned unit test 2015-12-16 21:44:59 -05:00
Glen Fernandes
2fe6991bad Change interface of align_up and align_down 2015-12-16 07:28:09 -05:00
Glen Fernandes
fa72ba63ea Add align_up, align_down and other minor changes 2015-12-15 23:00:57 -05:00
Glen Fernandes
18b59498d6 Use former behavior for aligned_allocator with 0 size 2015-08-28 20:30:50 -04:00
Glen Fernandes
3152b76905 Better diagnostics in unit test for alignment_of 2015-08-08 22:52:02 -04:00
Glen Fernandes
ac972a6bd3 Update assume_aligned unit test 2015-08-08 03:33:36 -04:00
Glen Fernandes
5bc934c009 Test zero once in aligned_alloc unit test 2015-08-08 03:19:51 -04:00
Glen Fernandes
417c6909d3 Conform to 3.7.4.1 for aligned_allocator with 0 size 2015-08-08 03:19:51 -04:00
Glen Fernandes
736c5e7470 Clean up test for aligned_allocator_adaptor 2015-08-08 03:19:42 -04:00
Glen Fernandes
778f358ef4 Add union test case to aligned_delete test 2015-08-08 02:23:31 -04:00
Glen Fernandes
1726627fbe Simplify size expression in align tests 2015-08-08 02:23:30 -04:00
Glen Fernandes
d979a2536f Rename detail offset_object to alignof_helper 2015-08-08 02:23:29 -04:00
Glen Fernandes
1c9f2779cc Remove namespace and comment indentation 2015-07-29 00:37:36 -04:00
Glen Fernandes
ab70454bd8 Update assumed_aligned unit test for Intel compilers 2015-07-22 08:09:32 -04:00
Glen Fernandes
8d2d98ddb4 Update assume aligned unit test 2015-07-20 08:11:30 -04:00
Glen Fernandes
ca041929d4 Make assume_aligned test a compile-test instead of run-test 2015-07-14 07:06:40 -04:00
Glen Fernandes
5c2aa423e3 Make assume_aligned test use alignment as constant expression 2015-07-14 05:20:10 -04:00
Glen Fernandes
cb103fcd79 Support assume_aligned on clang, add a compilation test, and update alignment_of for MSVC 2015-06-09 10:46:13 -07:00
Glen Fernandes
297123451a Update documentation and tests 2014-09-15 17:30:37 -07:00
Glen Fernandes
9b777630a3 Improve aligned_delete unit tests 2014-09-06 23:50:02 -07:00
Glen Fernandes
d073093588 Simplify tests for aligned_alloc and is_aligned 2014-09-06 22:12:16 -07:00
Glen Fernandes
8c0b44f9d6 Simplify two alignment_of implementations 2014-09-06 19:39:28 -07:00
Glen Fernandes
31b36c91c5 Compensate for template support in gcc 4.4 2014-09-05 19:20:26 -07:00
Glen Fernandes
2712f1b160 Update contact information in comments 2014-09-01 01:02:38 -07:00
Glen Fernandes
d014d75878 Update adaptor test to default initialize state 2014-08-07 09:14:31 -07:00
Glen Fernandes
4dd9b818c1 Add forward declaration header and update tests 2014-06-29 10:43:27 -07:00