C++ Logo

std-proposals

Advanced search

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

From: Thiago Macieira <thiago_at_[hidden]>
Date: Sun, 05 May 2024 14:49:33 -0700
On Sunday 5 May 2024 10:37:03 GMT-7 Frederick Virchanza Gotham via Std-
Proposals wrote:
> That was deliberate, I thought you wanted to turn:
>
> { "fish", "cow", "pig" }
>
> into:
>
> "fishcowpig"

No, I wanted "fish\0cow\0ping" (implicit \0 at the end).

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Principal Engineer - Intel DCAI Cloud Engineering

Received on 2024-05-05 21:49:37