C++ std::string_view equivalent in D?
rikki cattermole
rikki at cattermole.co.nz
Wed Feb 21 10:44:20 UTC 2018
On 21/02/2018 10:41 AM, 0xFFFFFFFF wrote:
> On Wednesday, 21 February 2018 at 09:21:58 UTC, 0xFFFFFFFF wrote:
>> What is the equivalent of C++17 std::string_view (an object that can
>> refer to a constant contiguous sequence of char-like objects with the
>> first element of the sequence at position zero) in D?
>>
>> PS: I'm getting back to D after years (since DMD 1 days). A lot
>> changes since v1.0.
>
> Thanks guys @all. I completed the task.
>
> Glad to know there are lots people helping out here.
Hop on to IRC (FreeNode #d) or Discord https://discord.gg/sVMHUD (invite
expires in a day) if you'd like a more interactive conversation :)
More information about the Digitalmars-d-learn
mailing list