|
Boost : |
Subject: Re: [boost] Heads up - string_ref landing
From: Nevin Liber (nevin_at_[hidden])
Date: 2012-12-13 15:27:46
On 13 December 2012 11:36, Olaf van der Spek <ml_at_[hidden]> wrote:
> On Thu, Dec 13, 2012 at 6:18 PM, Yakov Galka <ybungalobill_at_[hidden]>
> wrote:
> > basic_string(const charT* s, size_type n, const Allocator& a =
> > Allocator());
> >
> > explicitly requires that `s` is be a non-null pointer (even if n == 0).
>
> Sounds like a bug / defect.
>
I agree (and just sent in a defect report).
-- Nevin ":-)" Liber <mailto:nevin_at_[hidden]> (847) 691-1404
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk