C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Function only accepts parameter that will persist

From: Frederick Virchanza Gotham <cauldwell.thomas_at_[hidden]>
Date: Sun, 5 May 2024 18:37:03 +0100
On Sunday, May 5, 2024, Thiago Macieira wrote:

> On Sunday 5 May 2024 05:00:14 GMT-7 Frederick Virchanza Gotham wrote:
> > So in the future we want the following to be valid code?
>
> I don't know about "we". I want that, yes (with your math corrected of
> course;
> you dropped all the null terminators).
>


That was deliberate, I thought you wanted to turn:

    { "fish", "cow", "pig" }

into:

    "fishcowpig"

Anyway I've started writing a paper, I'll post it in a day or two.

Received on 2024-05-05 17:37:06