Bugzilla – Bug 795
use of allocate_shared should be added to notes on alignment
Last modified: 2016-02-12 21:22:48 UTC
A note should be added to the alignment notes regarding use of allocate_shared.
One needs to use allocate_shared with the eigen aligned allocator when making shared_ptr objects. Use of make_shared may result in alignment errors similar to not using the aligned new allocator.
Similar issues can arise with boost::bind.
We also have notes about alignment on lots of different places, maybe we should join them to one single place and reference from everywhere to that.
Partially, links to non-existing sites exist:
These should be forwarded to an existing page (Maybe backporting bug 804 to 3.2 does the trick)
Summary: Bug 795: mention allocate_shared as a candidate for aligned_allocator.
Summary: Import wiki's paragraph: "I disabled vectorization, but I'm still getting annoyed about alignment issues"
I've also fixed the broken links.