Commit Graph

154 Commits

Author SHA1 Message Date
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
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
cb714408bb For clang on android use our alignment_of implementation 2015-07-19 20:07:11 -04:00
Glen Fernandes
8e165866b2 Simpler README without images 2015-07-15 18:11:35 -04:00
Glen Fernandes
1598641444 Missing include for clang assume_aligned 2015-07-14 20:15:22 -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
256638bf9c Spatial optimizations in allocation functions 2015-05-19 11:32:25 -07:00
Glen Fernandes
d9de3bb48e Reformat and update documentation and examples 2015-05-19 11:32:23 -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
fbb4c38c19 Minor documentation corrections 2014-10-07 14:40:11 +11: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
3964742052 Update compatibility in documentation 2014-09-06 11:04:05 -07:00
Glen Fernandes
31b36c91c5 Compensate for template support in gcc 4.4 2014-09-05 19:20:26 -07:00
Glen Fernandes
3bccbcd369 Update reference documentation 2014-09-05 05:16:43 -07:00
Glen Fernandes
834d610424 Rename certain identifiers in detail namespace 2014-09-05 05:16:38 -07:00
Glen Fernandes
6b2d8b90c6 Update compatibility section in documentation 2014-09-05 03:39:42 -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
a3d3acf7af Improve tutorial and examples 2014-09-05 01:32:12 -07:00
Glen Fernandes
3af2e9b0b4 Further simplify documentation 2014-09-02 23:40:54 -07:00
Glen Fernandes
f74a7f5d2d Very minor documentation updates 2014-09-02 16:30:12 -07:00
Glen Fernandes
76680eaca4 Divide manual and reference 2014-09-02 15:55:32 -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
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
Glen Fernandes
1bf8903e6b Update alignment_of test 2014-06-17 11:11:30 -07:00
Glen Fernandes
0518a6eacd Avoid gcc intrinsic on 32-bit UNIX 2014-06-14 12:33:34 -07:00
Glen Fernandes
a655f6b19b Update unit test and documentation 2014-06-13 03:01:43 -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
Peter Dimov
b1b90669c9 Add back function pointer test. 2014-06-11 07:06:07 -07:00
Peter Dimov
f6ec51d104 Add more tests. 2014-06-11 07:06:07 -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
bf4926a989 Updated documentation 2014-06-11 07:05:19 -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