sys
Basic helper functions
Functions
std::assert
std::assertAsserts that a given value is true. If it's not, abort evaluation and print the given message to the console
condition: The condition that is required to be truemessage: The message to print in case the assertion doesn't hold
fn assert( condition, message);std::assert_warn
std::assert_warnAsserts that a given value is true. If it's not, print the given message to the console as a warning
condition: The condition that is required to be truemessage: The message to print in case the assertion doesn't hold
fn assert_warn( condition, message);std::env
std::envQueries the value of a set environment variable given it's name
name: The name of the env variablereturn: The value of that variable
std::sizeof_pack
std::sizeof_packReturns the number of parameters in a parameter pack.
pack: The pack to checkreturn: Number of parameters inpack
std::unimplemented
std::unimplementedThrows an error notifying the developer that the current code path is not implemented currently.
Last updated
Was this helpful?