[libcxx-commits] [libcxx] [libc++] Remove _LIBCPP_AUTO_CAST (PR #66027)

via libcxx-commits libcxx-commits at lists.llvm.org
Mon Sep 18 08:27:34 PDT 2023


philnik777 wrote:

> Even if you think the content of the patch is obvious, please write a description: Considering including things like:
> 
>     * why the difference between `auto(x)` and `auto{x}` won't make a difference.

I'm not sure what you mean here. AFIAK `auto(x)` and `auto{x}` do different things (`auto{x}` doesn't allow narrowing conversions), but `auto{x}` is never used in the standard wording.

https://github.com/llvm/llvm-project/pull/66027


More information about the libcxx-commits mailing list