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

◆ unused()

template<typename ... args_t>
void xtd::unused ( args_t &&...  args)

It may be used to suppress the "unused variable" or "unused local typedefs" compiler warnings when the variable or typedef can't be removed or commented out, e.g. when some blocks of the code are conditionally activated.

Namespace
xtd
Library
xtd.core
Parameters
argsvariables to suppress the unused warning
Examples
This example sho how to use Unused():