3 ms·
The problem with C++ is that template expansion doesn't do any validation of the parameters at all. It just keeps going until it generated as much code as possi
by imtringued 7y ago
The problem with C++ is that template expansion doesn't do any validation of the parameters at all. It just keeps going until it generated as much code as possible and only afterwards does it report a large error on the nonsensical code it generated.