C++ Logo

sg15

Advanced search

Re: [isocpp-sg15] [P2758] Emitting messages at compile time

From: Matthias Kretz <m.kretz_at_[hidden]>
Date: Fri, 25 Oct 2024 12:12:24 +0200
On Friday, 25 October 2024 07:55:51 GMT+2 Corentin via SG15 wrote:
> > So that no good deed goes unpunished 😊 I'll warn you that I intend to be
> > greedy: Some of us will be asking for general compile-time I/O, or at
> > least
> > O (output), in a consteval function. For example […]
>
> None of the novel reflection features have deployment experience and a lot
> of that hasn't been implemented. […]
> Maybe we can take it one step at a time?

I agree and disagree. The important point Herb is making is that these
features are related. Consequently, it is useful to keep the bigger picture in
mind while working on one aspect of compile-time I/O.

Regarding additional output files from compilers: This isn't novel. What is
novel is that the C++ source gets more say in the content of such files. I
believe file paths would typically be set via compiler flags anyway. In that
case it's still on the radar of the build system what's going on.

-- 
──────────────────────────────────────────────────────────────────────────
 Dr. Matthias Kretz                           https://mattkretz.github.io
 GSI Helmholtz Center for Heavy Ion Research               https://gsi.de
 std::simd
──────────────────────────────────────────────────────────────────────────

Received on 2024-10-25 10:12:27