Glen Fernandes
|
8b8cae741a
|
Do not remove is_aligned overload (by request)
|
2016-08-23 06:38:01 -04:00 |
|
Tim Blechmann
|
bb7a12eb97
|
aligned_allocator: cast away const-ness in construct
clang compile fix: adding entries into a std::map via operator[] calls
construct() on a const pointer.
|
2016-08-12 19:18:10 -04:00 |
|
Glen Fernandes
|
9fa8e7e5c1
|
Remove is_aligned overload
|
2016-04-02 14:51:42 -04:00 |
|
Glen Fernandes
|
5c1da00200
|
Use __typeof__ for clang assume_aligned
|
2016-02-08 08:34:29 -05:00 |
|
Glen Fernandes
|
7b8bcb5e3e
|
Use __typeof__ instead of typeof with GCC
|
2016-02-07 17:04:50 -05:00 |
|
Glen Fernandes
|
c60c73c1ac
|
Remove aligned_alloc customization for now
|
2016-02-07 16:47:32 -05:00 |
|
Glen Fernandes
|
df0e5eaa85
|
Update GCC implementation of assume_aligned
Allow use with pointer types other than void pointers.
|
2016-02-07 16:12:02 -05:00 |
|
Glen Fernandes
|
1f829685e0
|
Simplify allocation function customization
|
2015-12-30 00:19:56 -05:00 |
|
Glen Fernandes
|
75a026e0fd
|
Move portable code out of detail
|
2015-12-30 00:10:31 -05:00 |
|
Glen Fernandes
|
48b3792fa1
|
Minor cosmetic changes in functions
|
2015-12-20 09:52:30 -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
|
7f5f5219f9
|
Support custom allocation for aligned_alloc
|
2015-12-19 18:48:45 -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
|
e8e61532fe
|
Relax requirements on wrapped allocator
|
2015-12-17 20:32:48 -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
|
6e72b6adf7
|
Add alignment_of_v variable template for C++14
|
2015-12-16 19:03:53 -05:00 |
|
Giel van Schijndel
|
fb729cf869
|
Use fallback implementation for aligned alloc on WinCE
MSVC doesn't provide aligned allocation functions for Windows CE, so
don't attempt to use the ones for MSVC there.
|
2015-12-16 18:04:31 -05:00 |
|
Glen Fernandes
|
2fe6991bad
|
Change interface of align_up and align_down
|
2015-12-16 07:28:09 -05:00 |
|
Glen Fernandes
|
e0e5640d45
|
Add integral overloads of is_aligned, align_up, align_down
|
2015-12-16 00:40:49 -05:00 |
|
Glen Fernandes
|
fa72ba63ea
|
Add align_up, align_down and other minor changes
|
2015-12-15 23:00:57 -05:00 |
|
Glen Fernandes
|
2d97f75083
|
Remove noexcept specifier from defaulted constructor
|
2015-11-08 15:02:39 -05:00 |
|
Glen Fernandes
|
63453133f3
|
Missing include in alignment_of_msvc.hpp
|
2015-10-29 23:06:22 -04:00 |
|
Glen Fernandes
|
b42a30ff33
|
Do not use offsetof for MSVC 7.1 compatibility
|
2015-10-28 22:55:33 -04:00 |
|
Glen Fernandes
|
91de6bdbea
|
Restore char_ptr declarations from last commit
|
2015-10-28 22:05:23 -04:00 |
|
Glen Fernandes
|
9c06c420ee
|
Fully qualify boost namespace
|
2015-10-11 23:36:10 -04:00 |
|
Glen Fernandes
|
18b59498d6
|
Use former behavior for aligned_allocator with 0 size
|
2015-08-28 20:30:50 -04:00 |
|
Glen Fernandes
|
5f8efb7947
|
Update README
|
2015-08-11 23:34:15 -04:00 |
|
Glen Fernandes
|
3152b76905
|
Better diagnostics in unit test for alignment_of
|
2015-08-08 22:52:02 -04:00 |
|
Glen Fernandes
|
3f80e35821
|
Keep enumeration constant in aligned_alloc
|
2015-08-08 22:22:18 -04:00 |
|
Glen Fernandes
|
0bed97bf30
|
Simplify clang assume_aligned header
|
2015-08-08 10:00:49 -04:00 |
|
Glen Fernandes
|
ac972a6bd3
|
Update assume_aligned unit test
|
2015-08-08 03:33:36 -04:00 |
|
Glen Fernandes
|
a50469911b
|
Qualify aligned_free call in aligned_delete
|
2015-08-08 03:19:52 -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
|
b73e525516
|
Use __builtin_assume_aligned on clang
|
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
|
4cc612a270
|
Rename detail address_t to address
|
2015-08-08 02:23:32 -04:00 |
|
Glen Fernandes
|
778f358ef4
|
Add union test case to aligned_delete test
|
2015-08-08 02:23:31 -04:00 |
|
Glen Fernandes
|
0b6c218f60
|
Update documentation and description
|
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
|
34e2d0a791
|
Remove enumeration in aligned_alloc
|
2015-08-08 02:23:30 -04:00 |
|
Glen Fernandes
|
2274c9ae26
|
Use alignment_of in examples
|
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
|
0771bce1f8
|
Rename max_align to max_size and add max_align trait
|
2015-08-08 02:23:29 -04:00 |
|
Glen Fernandes
|
302a2114ed
|
Use more expressive condition in aligned_alloc for OSX
|
2015-08-08 02:23:29 -04:00 |
|