improve verboseness of aligned_alloc

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/trunk@1799 4e380d45-d1fd-0310-85a7-d18ec86df0ad
Include windows.h

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/trunk@1800 4e380d45-d1fd-0310-85a7-d18ec86df0ad
preliminary posix_memalign support

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/trunk@1801 4e380d45-d1fd-0310-85a7-d18ec86df0ad
aligned_alloc: switch from new[]/delete[] to malloc/free

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/trunk@1802 4e380d45-d1fd-0310-85a7-d18ec86df0ad
aligned_alloc: use realloc to trim unused memory after the data area to catch out of bound accesses more easily

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/trunk@1803 4e380d45-d1fd-0310-85a7-d18ec86df0ad
add aligned_alloc(size_t), eventually aligned_alloc(size_t, size_t) can be removed at some point

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/trunk@1804 4e380d45-d1fd-0310-85a7-d18ec86df0ad
add a missing forward declaration

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/trunk@1805 4e380d45-d1fd-0310-85a7-d18ec86df0ad
aligned_dealloc should not die on NULL pointer argument

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/trunk@1806 4e380d45-d1fd-0310-85a7-d18ec86df0ad
Make comparison unambiguous.


git-svn-id: svn://svn.code.sf.net/p/stxxl/code/trunk@1807 4e380d45-d1fd-0310-85a7-d18ec86df0ad
aligned_alloc: can't use memalign, really need the metadata argument for array allocations

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/trunk@1808 4e380d45-d1fd-0310-85a7-d18ec86df0ad
typed_block::new[]: do not allocate overhead twice

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/trunk@1809 4e380d45-d1fd-0310-85a7-d18ec86df0ad
typed_block: move operator new[]()/delete[]() after operator new()/delete()

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/trunk@1810 4e380d45-d1fd-0310-85a7-d18ec86df0ad
add STXXL_STATIC_ASSERT(expr) macro

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/trunk@1811 4e380d45-d1fd-0310-85a7-d18ec86df0ad
some more validation, using static_assert for the first time :-)

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/trunk@1812 4e380d45-d1fd-0310-85a7-d18ec86df0ad
improve typed_block verboseness

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/trunk@1813 4e380d45-d1fd-0310-85a7-d18ec86df0ad
new test for aligned_alloc and typed_block

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/trunk@1814 4e380d45-d1fd-0310-85a7-d18ec86df0ad
split typed_block.h from mng.h

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/trunk@1815 4e380d45-d1fd-0310-85a7-d18ec86df0ad
split bid.h from mng.h

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/trunk@1816 4e380d45-d1fd-0310-85a7-d18ec86df0ad
now we need to include typed_block.h at some places

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/trunk@1817 4e380d45-d1fd-0310-85a7-d18ec86df0ad
split diskallocator.h from mng.h

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/trunk@1818 4e380d45-d1fd-0310-85a7-d18ec86df0ad