Daily bit(e) of C++ | std::tie, std::ignore
Daily bit(e) of C++ #429, Creating indirection tuples with the use of std::tie.
The std::tie is a C++11 utility from the tuple header that creates a tuple of lvalue references to the arguments.
While structured bindings in C++17 replaced the primary use case, std::tie remains useful when combined with std::ignore or as a tool to simplify the implementation of comparisons.