$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Zach Laine (whatwasthataddress_at_[hidden])
Date: 2019-12-02 18:02:30
On Mon, Dec 2, 2019 at 11:48 AM Peter Dimov via Boost <boost_at_[hidden]>
wrote:
> Zach Laine wrote:
>
> > I don't find it natural that a type whose size is statically known and a
> > type whose size is not statically known have the same relationship to
> user
> > code (preconditions, use of UB vs. exceptions, etc.).
>
> But the size of the proposed fixed_string isn't statically known. Its
> capacity is.
>
Right, thanks. I wrote "size" when I meant "capacity". I think the point
remains the same, however. I know statically how much room I have in which
to operate, as opposed to having a runtime-variable amount of room.
Zach