[libcxx-commits] [PATCH] D60422: Remove default parameters (P0935R0)

Zoe Carver via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue May 12 19:57:02 PDT 2020


zoecarver marked an inline comment as done.
zoecarver added a comment.

> It's been a while, but I'll review this if you update it with my comments.

Sounds good to me. I might not have time to work on this patch until this weekend or next week, though.



================
Comment at: test/std/containers/container.adaptors/queue/queue.defn/default_constructor.pass.cpp:1
+//===----------------------------------------------------------------------===//
+//
----------------
ldionne wrote:
> zoecarver wrote:
> > Before I spend a lot of time writing tests for this, I want to check that I am writing the correct tests. I am going to use this test as a "template" for other tests. @EricWF how does this look? 
> IIUC, you're just trying to test that the type is implicitly default constructible. You could add a support header that contains generic tests for that, like `test_implicitly_default_constructible<T>()`, and then you'd simply use `test_implicitly_default_constructible<std::queue<T>>()`, etc.
I like that idea a lot. I'll do that. 


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

https://reviews.llvm.org/D60422





More information about the libcxx-commits mailing list