Boost logo

Boost :

Subject: Re: [boost] interest in a stateful pointer library?
From: Olaf van der Spek (ml_at_[hidden])
Date: 2017-10-10 12:49:32


On Mon, Oct 9, 2017 at 11:32 AM, Hans Dembinski via Boost
<boost_at_[hidden]> wrote:
> On my system (gcc stdlib), std::string has the size of 32 bytes = 256 bits. That's 64 bits for a const char* pointer, 64 bits to hold the size_t, 64 bits to hold the allocator instance, and another 64 bits that I don't know what they are good for.

Capacity?

-- 
Olaf

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk