3 ms·
sure about that? It does, happen to, work on libstdc++/libc++/MS STL but it's not specified to work anywhere but std::tie. The existing practice is to cast to
by beached_whale 2y ago
sure about that? It does, happen to, work on libstdc++/libc++/MS STL but it's not specified to work anywhere but std::tie. The existing practice is to cast to void.
- alexvitkov 2y agocan you show an example how? I can't find a case where std::ignore compiles inside a structured binding declaration. https://godbolt.org/z/sjefeGvPf https://godbolt.org/z/sjefeGvPf https://godbolt.org/z/8a7Ps4KdW https://godbolt.org/z/8a7Ps4KdW
- beached_whale 2y agoit will work for assignment/ construction, but isn't part of std c++ is what i mean. at least not yet. structured binding wont, but in the future c++ 26, _ should work there and other places