PR libstdc++/88111 Make maximum block size depend on size_t width
authorJonathan Wakely <jwakely@redhat.com>
Wed, 21 Nov 2018 18:40:55 +0000 (18:40 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 21 Nov 2018 18:40:55 +0000 (18:40 +0000)
commit36d2acbd78eaa275797be9f7dfd3f7bd1b010646
treead61e8273862d4c2df08dc3789df1d6d7c98de3f
parentafd02e4c676dec5b06088a27c2152d772902e0be
PR libstdc++/88111 Make maximum block size depend on size_t width

PR libstdc++/88111
* include/std/memory_resource (pool_options): Add Doxygen comments.
* src/c++17/memory_resource.cc (pool_sizes): Only use suitable values
on targets with 16-bit or 20-bit size_t type.
(munge_options): Make default values depend on width of size_t type.

From-SVN: r266353
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/memory_resource
libstdc++-v3/src/c++17/memory_resource.cc