[libcxx-commits] [libcxx] [libc++] Refactor some code in monotonic_buffer_resource (PR #117271)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Nov 22 04:43:45 PST 2024
================
@@ -27,8 +27,8 @@ namespace pmr {
// [mem.res.monotonic.buffer]
class _LIBCPP_AVAILABILITY_PMR _LIBCPP_EXPORTED_FROM_ABI monotonic_buffer_resource : public memory_resource {
- static const size_t __default_buffer_capacity = 1024;
- static const size_t __default_buffer_alignment = 16;
----------------
frederick-vs-ja wrote:
It seems that `__default_buffer_alignment` has never been used since intiallly added (243da90ea5357c1ca324f714ea4813dc9029af27, https://reviews.llvm.org/D89057).
https://github.com/llvm/llvm-project/pull/117271
More information about the libcxx-commits
mailing list