mclow.lists added a comment.

>   I've conservatively hidden everything behind _LIBCPP_STD_VER > 17, although 
> it could be made available in C++11 mode with some edits.

If we have a use for this in pre c++2a code, the libc++ convention would be to 
implement `__common_reference` that works most everywhere, and then have 
`common_reference` that only works > 17, but inherits from the ugly name.

That might be difficult in this case, because users can extend 
`common_reference`.


https://reviews.llvm.org/D49118



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to