Ion Gaztañaga
eff9bdfdaa
Fixes #148 again (Fix static initialization issues in pmr global resources)
2020-05-24 00:37:36 +02:00
Ion Gaztañaga
4548ddacf7
Merge branch 'develop' into use-boost-override
2020-05-23 23:42:15 +02:00
Ion Gaztañaga
093467e1d3
Fixes #148 (Fix static initialization issues in pmr global resources)
2020-05-23 23:38:58 +02:00
Eugene Zelenko
811dc94bb4
Use BOOST_OVERRIDE to fix GCC -Wsuggest-override and Clang-tidy modernize-use-override warnings.
2020-05-08 09:28:49 -07:00
Ion Gaztañaga
27c1fea452
Fixes #136 ("List of non BOOST-prefixed macros")
2019-12-19 05:29:46 +01:00
Ion Gaztañaga
a9ceb4d9c6
Better use forward declarations and export symbols
2019-01-03 03:32:03 +01:00
Ion Gaztañaga
e94c779b56
Fix GitHub #77 ("warning: 'sbrk' is deprecated")
2018-11-11 01:38:27 +01:00
Ion Gaztañaga
3a2f61fdb0
Merge branch 'container-misc-typos' of https://github.com/luzpaz/container into luzpaz-container-misc-typos
2018-11-10 23:32:42 +01:00
Ion Gaztañaga
b51a9e7a25
Fix wrong s_allocated_memory estimation and use more conservative to avoid code that seems to break some older compilers
2018-09-26 01:06:33 +02:00
luz.paz
a6ac16d0c4
container: misc-typos
...
Found via `codespell -q 3 -L iff,nd`
2018-09-23 15:54:39 -04:00
Ion Gaztañaga
920e009d71
Implemented proposed resolution for LWG 3120
2018-06-18 00:29:22 +02:00
Ion Gaztañaga
9a22431578
* Clean up constructor template auto deduction guides to use Boost.Container traits
...
* GitHub #73 : '"triviality of pair".
* Fixed race condition bug in unsynchronized_pool_resource
2018-06-14 13:17:55 +02:00
Ion Gaztañaga
9137957672
Fixes Issue #61 : "compile problems on Android ndk r16 beta 1"
2018-01-27 23:27:54 +01:00
Ion Gaztañaga
22f00f45d8
Fixed issue #65 pmr::monotonic_buffer_resource::allocate() can return a pointer to freed memory after release() is called.
2018-01-27 21:23:43 +01:00
Ion Gaztañaga
fa2494631a
Use namespace dtl instead of container_detail to avoid excessively long symbol names.
2017-11-07 00:51:46 +01:00
Brian Kuhl
7816a9777b
Update alloc_lib.c
2017-09-06 20:59:35 -04:00
Miro Knejp
bf25231d5d
Avoid -Wunreachable-code in do_allocate()
...
do_allocate() triggered the warning
"code will never be executed [-Wunreachable-code]"
in Clang.
Changed both do_allocate and do_deallocate to keep the existing
similarity.
2016-11-02 13:43:34 +01:00
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