summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/std/functional
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2022-09-16 21:29:44 +0100
committerJonathan Wakely <jwakely@redhat.com>2022-09-16 21:35:43 +0100
commit7f4c37099a9f2415e00e94379c1206b3e9185c52 (patch)
tree46203524fb4fd555fe0f3076eadab432384a5eb9 /libstdc++-v3/include/std/functional
parentd31e19e44009ef645f0a120043c7f84d0450b4c9 (diff)
downloadgcc-7f4c37099a9f2415e00e94379c1206b3e9185c52.tar.gz
libstdc++: Move allocator-related helpers to <bits/alloc_traits.h>
The __alloc_swap and __shrink_to_fit_aux helpers are not specific to std::allocator, so don't belong in <bits/allocator.h>. This also simplifies enabling <memory> for freestanding, as now we can just omit the whole of <bits/allocator.h> for freestanding. libstdc++-v3/ChangeLog: * include/bits/alloc_traits.h (__alloc_swap) (__shrink_to_fit_aux): Move here, from ... * include/bits/allocator.h: ... here. * include/ext/alloc_traits.h: Do not include allocator.h.
Diffstat (limited to 'libstdc++-v3/include/std/functional')
0 files changed, 0 insertions, 0 deletions