[libcxx-commits] [PATCH] D58587: Implement deduction guides for <map>

Marshall Clow via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Feb 25 11:57:55 PST 2019


mclow.lists added inline comments.


================
Comment at: test/std/containers/associative/map/map.cons/deduct.fail.cpp:44
+        std::allocator<int> a;
+        std::map s(a); // expected-error{{no viable constructor or deduction guide for deduction of template arguments of 'map'}}
+    }
----------------
Please say why you expect these tests to fail.
Don't make a reader dig through the requirements to see if they're correct.
Take a look at "queue/queue.cons/deduct.fail.cpp", for example.


Repository:
  rCXX libc++

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58587/new/

https://reviews.llvm.org/D58587





More information about the libcxx-commits mailing list