On Mon, 4 Nov 2024 at 21:02, Sven Bieg via Gcc-help <gcc-help@xxxxxxxxxxx> wrote: > > It also would be helpful to have a return value. > > auto str=new String("abc") This expression already has a return value, new String("abc") returns a String* > This should produce a String-handle Handle<String>. > > String::?String(const char*); > Handle<String> String::=String(size_t len, char const* str); > > Right? This seems like very novel invention that isn't at all how C++ works.