C++ Logo


Advanced search

Subject: Re: Values of objects
From: Krystian Stasiowski (sdkrystian_at_[hidden])
Date: 2019-08-28 13:53:54

> The right way to define this is to say that objects have a value representation consistingof a fixed subset of the bits of their object representation, and that the value of an objectis the sequence of bits in the value representation.Not quite, while the value representation of an trivially copyable type will appear in the object representation, for an object of non-trivially copyable type, the value is a user established thing: such as `std::string`, since it has a pointer to external data.

STD-DISCUSSION list run by std-discussion-owner@lists.isocpp.org

Older Archives on Google Groups