C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Supporting f-strings in C++: draft-R1

From: Hadriel Kaplan <hkaplan_at_[hidden]>
Date: Mon, 16 Oct 2023 16:10:12 +0000
> From: Std-Proposals <std-proposals-bounces_at_[hidden].org> on behalf of Jens Maurer via Std-Proposals <std-proposals_at_lists.isocpp.org>

> In which phase are these F or X strings supposed to be turned into
> something else that presumably ends up as a phase 7 C++ expression
> performing some formatting when evaluated?

That is the big question.

Currently the proposal says between phase 6 and 7. But with a note that says: "It may be more appropriate to perform the f/x-string conversion before phase 6, such as immediately following phase 4 preprocessing. (TBD)".

But that was under my assumption we couldn't/shouldn't touch the preprocessor without WG14. If it's really a practical-possibility to modify preprocessing, then this could of course be done in phase 4.

There are pro's and con's for pretty much anywhere, I think.

I guess I should just list the pro's and con's that I know of in the proposal, and ask for EWG guidance?

-hadriel



Juniper Public

Received on 2023-10-16 16:10:20