[BUG] Non-implicit
multiple-argument constructor is implicit.
#450
Labels
bug
Something isn't working
Title: Non-
implicit
multiple-argument constructor is implicit.Description:
There are good reasons for these to also abide to the
implicit
specifier.See #398 and https://quuxplusone.github.io/blog/2023/04/08/most-ctors-should-be-explicit/.
Minimal reproducer (https://cpp2.godbolt.org/z/fKWqMhWMa):
Commands:
cppfront -clean-cpp1 main.cpp2 clang++17 -std=c++2b -stdlib=libc++ -lc++abi -pedantic-errors -Wall -Wextra -Wconversion -I . main.cpp
Expected result:
Actual result and error:
Cpp2 lowered to Cpp1.
The text was updated successfully, but these errors were encountered: