xte ::segfault ()
Defined in header <xte/sys/segfault.hpp> Dereferences
nullptr to cause a segmentation fault, though whether it's handled at all is entirely up to the operating system.Definition
Why would you use this?inline void segfault ()noexcept ;
Example
Possible output:xte ::segfault ();
[View in Compiler Explorer]Segmentation fault (code dumped)