Catching Acces Violation/Segmentation Fault
BCS
ao at pathlink.com
Wed May 9 13:11:01 PDT 2007
Reply to silverling,
> BCS Wrote:
>
>> Reply to silverling,
>>
>>> I am programming a Matrix class to be used like a primitive type
>>> (overloaded operators, identity, transpose, the whole shebang) and
>>> one of the constructors _may_ cause an Access Violation (or
>>> Segmentation Fault, if you prefer the old Linux SIGSEG) if the
>>> class's user is foolish. Is there a way to catch this errors?
>>>
> This is great! Thanks! Now I only need to throw an exception.
> Unfortunatly, it will only work on linux :( meaning the module is not
> portable.
>
so just tell the win32 user to not be foolish <g>
More information about the Digitalmars-d-learn
mailing list