Commit Graph

9 Commits

Author SHA1 Message Date
Jupp Müller
a4e9686f8a Fix declaration changes meaning error with GCC 4.4.7 (#11856) 2015-12-23 09:18:51 +01:00
Gaurav
0cfe2231f9 DL_SIZE_IMPL also dereference addr
DL_SIZE_IMPL also dereference addr, so call inside Null check statement.
2015-10-14 16:07:50 +05:30
Ion Gaztañaga
33d2f0f7af Add Polymorphic Memory Resource utilities and rework the separately compiled library:
- Dlmalloc's based C function are boost_cont_xxx no longer exported, but wrapped into C++ linkage dlmalloc_xxx functions to effectively reuse Boost's dynamic library and autolink machinery instead of rewriting machinery to compile the C source file.
- Refactored scoped_allocator_adaptor's construct logic as it was shared with polymorphic allocator's one. Moved common logic to detail/dispatch_uses_allocator.hpp. Refactored also scoped_allocator_adaptor test utilities to be reused with polymorphic_allocator tests.
2015-09-07 19:16:46 +02:00
Ion Gaztañaga
5d35aec80f Fixed Trac #11339 ("VC12 LNK2005 error with boost::container::adaptive_pool") 2015-06-13 16:44:46 +02:00
Ion Gaztañaga
d51ef9db46 Added NO_MALLINFO and NO_MALLOC_STATS defines to dlmalloc to avoid dependencies. Implemented boost_cont_allocated_memory based on internal_mallinfo 2014-08-14 00:27:22 +02:00
Ion Gaztañaga
8c1bfe2881 Removed trailing whitespaces 2014-05-28 15:50:13 +02:00
Ion Gaztañaga
edc4e6da80 Reverted alloc_lib extension change. It breaks Windows builds. 2014-02-10 21:26:20 +01:00
Ion Gaztañaga
30431adf1e Changed extended allocator file extension from C to C++ as some toolsets (like clang) don't ignore C++ options when compiling C files. 2014-02-09 23:20:44 +01:00
Ion Gaztañaga
41c2056ec6 - Modified relational operators to be friend inline definitions. This allows compilation checking when instantiating classes, avoids predeclarations and results in less verbose code.
- First to make associative containers' tree implementation configurable.
2013-12-23 23:34:28 +01:00