With C linkage, it's translated to a template that's defined in the automatically generated header, but it just doesn't compile in C++.
Why can't we use strings in C++ methods?
Dadoum via Digitalmars-d-learn Fri, 03 Nov 2023 20:06:56 -0700
I was wondering why C++ linkage forbids strings as arguments
while we can with the C one.
- Why can't we use strings in ... Dadoum via Digitalmars-d-learn
- Re: Why can't we use st... Imperatorn via Digitalmars-d-learn
- Re: Why can't we us... Dadoum via Digitalmars-d-learn
- Re: Why can't w... Emmanuel Danso Nyarko via Digitalmars-d-learn
- Re: Why can... Johan via Digitalmars-d-learn
- Re: Why can... Dadoum via Digitalmars-d-learn