Subject: Re: [boost] Heads up - string_ref landing
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2012-11-17 16:33:06


On 16/11/12 17:54, Yanchenko Maxim wrote:
> 16.11.2012, 14:45, "Olaf van der Spek" <ml_at_[hidden]>:

>> Yes if sizeof(value_type) == 1, no
>> otherwise. You can't tell to what memory range it points without
>> knowing sizeof(value_type)
>
> Ah. The first pointer (0xa0) is typed, so we surely know value_type.

I assume the point of his argument is that you could write most of the
code without templates, meaning smaller code size and faster compilation
times.