Daily bit(e) of C++ | prvalue wrapper types
Daily bit(e) of C++ #480, Avoiding lifetime issues using wrapper types that can only be used as prvalues.
When implementing wrapper types in C++, it might be desirable to turn the wrapper into a prvalue-only type (a type that can only be used as a temporary).
To achieve this, we can lean on the C++17 guaranteed copy elision of prvalues in combination with disabling the copy and move.