Herb Sutter's CppCon talk "Extending and Simplifying C++: Thoughts on Pattern Matching using `is` and `as`"

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Tue Nov 2 10:27:47 UTC 2021


On Monday, 1 November 2021 at 21:41:29 UTC, Walter Bright wrote:
> 1. basic types, structs, and arrays are interchangeable. But I 
> couldn't add tuples to the list, because the function call ABI 
> for structs is "special". Urgh.

Why? Shouldn't a tuple just be syntactical suger for a regular 
struct with special naming conventions (mangling)?



More information about the Digitalmars-d mailing list