[OT] - C++ exceptions are becoming more and more problematic

rikki cattermole rikki at cattermole.co.nz
Thu Mar 3 16:03:23 UTC 2022


On 04/03/2022 4:43 AM, IGotD- wrote:
> How is it with value type exceptions, would they need typeinfo as well? 
> If it needs typeinfo, then it wouldn't work with better C. Actually I 
> would rather omitting typeinfo to be a separate compiler switch as 
> typeinfo is such a useful feature you should be able to pick if you need 
> it or not.

They are structs, no TypeInfo required (although the compiler should be 
free to promote class based exceptions to value type as long as the user 
would not notice it).


More information about the Digitalmars-d mailing list