cpp/utility/tuple/ignore

An object of unspecified type such that any value can be assigned to it with no effect. Intended for use with std when unpacking a std, as a placeholder for the arguments that are not used.

While the behavior of outside of  is not formally specified, some code guides recommend using  to avoid warnings from unused return values of  functions.

Example

 * 1) Demonstrates the use of  together with a  function.
 * 2) Unpacks a  returned by cpp/container/set/insert, but only saves the boolean.