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

◆ not_finite_number_exception_

#define not_finite_number_exception_ (   ...)

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

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

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