#include <tuple.h>
A placeholder that can be assigned any value without having any effect. This is useful in conjunction with Tie:
Int x; Tie ( Ignore , x, Ignore ) = FunctionReturningTupleOf3(); // We were only interested in the second element.Ignore is the equivalent of std::ignore.
公共成员函数 |
|
| IgnoredPlaceholder () | |
| template<typename T > | |
| const IgnoredPlaceholder & | operator= (const T &) const |
| IgnoredPlaceholder | ( | ) |
| const IgnoredPlaceholder & operator= | ( | const T & | ) | const |