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

◆ out_of_memory_exception_

#define out_of_memory_exception_ (   ...)

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

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

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