libstdc++: Add nodiscard to polymorphic_allocator members (LWG 3304)
authorJonathan Wakely <jwakely@redhat.com>
Wed, 19 Feb 2020 12:04:53 +0000 (12:04 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 19 Feb 2020 12:46:57 +0000 (12:46 +0000)
commit020a03eec7054adb10396067fab69d0ace00aada
treee40bed38cce7b105940f6669317fee694becfef8
parent15411a6453444ef49940822380e39e6a1d174fac
libstdc++: Add nodiscard to polymorphic_allocator members (LWG 3304)

* include/std/memory_resource (polymorphic_allocator::allocate_bytes)
(polymorphic_allocator::allocate_object)
(polymorphic_allocator::new_object): Add nodiscard attribute (LWG3304).
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/memory_resource