Commit graph

4 commits

Author SHA1 Message Date
816a8af654 Fix memory leak, improve code 2022-05-15 20:17:42 +02:00
692393285d Fix memory leaks 2022-05-15 19:19:56 +02:00
4d3dfce93f Improve and cleanup make_foreign_class()
No need to have two versions of this.
Static assert when users specify ambiguous overloads.
Currently overloads are discriminated only by
parameter count, not types, so we need to enforce this.
2022-05-15 17:01:57 +02:00
b8066a3f34 Add working example of constructor overloading 2022-05-15 16:03:29 +02:00