Discard()

System::Discard() function

Returns the default-constructed temporary instance of the specified type, which can be placed instead of discarding ‘_’ argument.

template<typename T> auto System::Discard()

Template parameters

ParameterDescription
TThe type whose instance is returned.

See Also