C++ Logo


Advanced search

Re: [SG7] Update: P1240R2 — Scalable Reflection

From: Peter Dimov <pdimov_at_[hidden]>
Date: Tue, 18 Jan 2022 18:53:33 +0200
> Daveed Vandevoorde wrote:
> > — The proposed metafunctions now use span and string_view instead
> of
> > vector and string
> NTCS please :-(

I'm serious. Please provide a way to obtain a `char const*` instead of
std::string_view; that could take the form of a consteval magic function
taking the std::string_view returned from the official API.

Since the compiler will not want to be married to a particular stdlib,
its internal primitives are not going to be creating std::string_views

Received on 2022-01-18 16:53:36