xtd 0.2.0
Loading...
Searching...
No Matches

◆ divided_by_zero_exception_

#define divided_by_zero_exception_ (   ...)

#include <xtd.core/include/xtd/divided_by_zero_exception.h>

Helper on xtd::divided_by_zero_exception to call it with current stack frame information.

Header
#include <xtd/divided_by_zero_exception>
Library
xtd.core
Remarks
Is equivalent to xtd::divided_by_zero_exception {{any argument}, csf_}
void my_func() {
if (invalid_info) throw divided_by_zero_exception_(); // same as : throw divided_by_zero_exception {csf_};
if (invalid_value) throw divided_by_zero_exception_("Bad value"); // same as : throw divided_by_zero_exception {"Bad value", csf_};
...
}
#define divided_by_zero_exception_(...)
Helper on xtd::divided_by_zero_exception to call it with current stack frame information.
Definition divided_by_zero_exception.h:107