summary refs log tree commit diff stats
path: root/tests/cpp/tinitializers.nim
Commit message (Collapse)AuthorAgeFilesLines
* C++ Adds support for default arg using object construction syntax. Fixes a ↵Juan M Gómez2023-09-281-2/+29
| | | | | | | | | | compiler crash (#22768) `Foo()` below makes the compiler crash. ```nim proc makeBoo(a:cint = 10, b:cstring = "hello", foo: Foo = Foo()): Boo {.importcpp, constructor.} ```
* implements RFC: [C++] Constructors as default initializers (#22694)Juan M Gómez2023-09-141-0/+33
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>