On Fri, Jan 31, 2025 at 7:37 AM The Cuthour via Gcc <gcc@gcc.gnu.org> wrote:
>
> I understand the concerns about the C++ standard requiring constant
> expressions to be known during compilation. However, my proposal for
> link-time evaluation offers significant flexibility and efficiency
> improvements that could address current limitations in compile-time
> constant expressions.

>From what you are saying, you are looking for a C++ interpreter. That
is not what GCC is. GCC is a C++ compiler.

There have been C++ interpreters in the past, such as one by Saber.
Using an interpreter would give you the flexibility that you are
looking for. You are not going to get it from a compiler. The models
are just too different.

Ian

Reply via email to