Boost logo

Boost :

Subject: Re: [boost] Heads up - string_ref landing
From: Maxim Yanchenko (maximyanchenko_at_[hidden])
Date: 2012-11-16 10:55:37


Andrey Semashev <andrey.semashev <at> gmail.com> writes:

> > For this we use just
> > f(char_range::literal("Olaf"));
>
> Sorry for jumping in but shouldn't it be from_literal? It's more
> aligned with from_array you suggested before.

Yes, makes sense, though a bit lengthy.
Maybe both should be just 'literal' and 'array', without 'from_'.
I don't feel too strong about it, just want them to be explicit and visible.

Thanks,
Maxim


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