2
0
mirror of https://github.com/boostorg/align.git synced 2026-01-27 06:32:08 +00:00
Commit Graph

49 Commits

Author SHA1 Message Date
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
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
a50469911b Qualify aligned_free call in aligned_delete 2015-08-08 03:19:52 -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
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