System::Discard method

System::Discard method

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

template<typename T> T & System::Discard(T &&initial=Details::DefaultValue<T>())
ParameterDescription
TThe type whose instance is returned.

See Also