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
4cc612a270
Rename detail address_t to address
2015-08-08 02:23:32 -04:00
Glen Fernandes
34e2d0a791
Remove enumeration in aligned_alloc
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
Glen Fernandes
cabd73d0df
Update copyright comments
2015-08-08 02:23:28 -04:00
Glen Fernandes
1c9f2779cc
Remove namespace and comment indentation
2015-07-29 00:37:36 -04:00
Glen Fernandes
c336f69df0
Work around clang on x86 __alignof for long long
2015-07-24 07:13:04 -04:00
Glen Fernandes
cb714408bb
For clang on android use our alignment_of implementation
2015-07-19 20:07:11 -04:00
Glen Fernandes
1598641444
Missing include for clang assume_aligned
2015-07-14 20:15:22 -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
256638bf9c
Spatial optimizations in allocation functions
2015-05-19 11:32:25 -07:00
Glen Fernandes
5338a7376a
Refactor assume_aligned implementation
2015-05-19 10:33:18 -07:00
Joel Falcou
b6e0a6862d
Introduce alignment hints macro specifier
...
Some compilers provide custom function to explicit the fact
that a pointer is indded aligned on a given boundary. This
PR introduces BOOST_ALIGN_ASSUME_ALIGNED to provide a portable
way to use such hints.
2015-05-01 18:02:55 +02: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
834d610424
Rename certain identifiers in detail namespace
2014-09-05 05:16:38 -07:00
Glen Fernandes
c751d71fc5
Further integral constant usage changes
2014-09-05 02:46:20 -07:00
Glen Fernandes
19d5a2602c
alignment_of with integral_constant interface
2014-09-05 02:05:09 -07:00
Glen Fernandes
dc76004d4f
Update reference and tutorial documentation
2014-09-02 09:56:40 -07:00
Glen Fernandes
2712f1b160
Update contact information in comments
2014-09-01 01:02:38 -07:00
Glen Fernandes
d57ef40e4e
Remove unnecessary namespace qualifiers
2014-08-31 10:30:49 -07:00
Glen Fernandes
4dd9b818c1
Add forward declaration header and update tests
2014-06-29 10:43:27 -07:00
Glen Fernandes
0518a6eacd
Avoid gcc intrinsic on 32-bit UNIX
2014-06-14 12:33:34 -07:00
Glen Fernandes
44e23e848a
Use the normal names for detail traits
2014-06-12 08:14:34 -07:00
Glen Fernandes
74f368e7d3
Update alignment_of implementation and test
2014-06-11 07:13:36 -07:00
Glen Fernandes
b9bd75af91
Add alignment_of implementations
2014-06-11 07:05:56 -07:00
Glen Fernandes
c270956cb4
Update examples and documentation
2014-06-11 07:05:55 -07:00
Glen Fernandes
b663928ac5
Consume addressof and lightweight_test from core
2014-06-11 07:05:55 -07:00
Glen Fernandes
eab6264a0a
Use POSIX allocation from OSX 10.9
2014-06-11 07:05:19 -07:00
Andrey Semashev
039e397d26
Use _aligned_malloc for all MSVC-compatible compilers
...
Any compiler pretending to be MSVC should implement _aligned_malloc/_aligned_free. In particular this includes Intel Compiler on Windows and (in the future) Clang. These compilers reuse MSVC CRT, which implements these functions.
2014-06-11 07:05:18 -07:00
Glen Fernandes
e1f6c1cbe4
posix_memalign on OSX does not conform for zero size
2014-06-11 07:05:18 -07:00
Glen Fernandes
166656d3a9
Documentation in quickbook
2014-06-11 07:05:18 -07:00
Glen Fernandes
608b34c7ac
Address review feedback
2014-06-11 07:05:18 -07:00
Glen Fernandes
4be8438cdd
Updated Boost.Align implementation
2014-06-11 07:05:18 -07:00