|
AnySet Documentation
|
Compressed pair class like boost::compressed_pair. Hand-rolled to avoid the small dependency.
#include <CompressedPair.h>
Public Member Functions | |
| template<class Left , class Right , class = std::enable_if_t<std::is_same_v<std::decay_t<Left>, T>>, class = std::enable_if_t<std::is_same_v<std::decay_t<Right>, U>>> | |
| CompressedPair (Left &&left, Right &&right) | |
| const U & | second () const & |
| const U && | second () const && |
| U & | second () & |
| U && | second () && |
| void | swap (CompressedPair &other) noexcept(std::is_nothrow_swappable_v< T > and std::is_nothrow_swappable_v< U >) |
Public Member Functions inherited from te::detail::CompressedPairBase< T > | |
| template<class ... Args> | |
| CompressedPairBase (Args &&... args) | |
| const T & | first () const & |
| const T && | first () const && |
| T & | first () & |
| T && | first () && |


1.8.13