[PATCH] D26885: [libcxx] Fix max_size() across all containers

Marshall Clow via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 20 15:56:38 PST 2016


mclow.lists added inline comments.


================
Comment at: test/std/containers/associative/map/map.access/max_size.pass.cpp:24
+
+template <class Alloc> size_t alloc_max_size(Alloc const &a) {
+  typedef std::allocator_traits<Alloc> AT;
----------------
How about a newline here? (after the `template<>`)

And why not hoist this into "test_allocator.h"?



https://reviews.llvm.org/D26885





More information about the cfe-commits mailing list