[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Naming question for get_property, set_property
From: |
Dan Eble |
Subject: |
Re: Naming question for get_property, set_property |
Date: |
Tue, 11 Feb 2020 08:28:52 -0500 |
On Feb 10, 2020, at 20:48, David Kastrup <address@hidden> wrote:
>
> Templating on a string constant is, unfortunately, not a thing at least
> in C++11 (don't know whether they managed since then). Or one could go
> that route rather than GCC-specific in-expression use of a static
> initializer.
Well, constexpr enables some new and interesting things, though I imagine that
having to interact with Guile nixes them.
Here, someone has figured out how to compute a CRC of a literal string at
compile time:
https://stackoverflow.com/a/9842857
—
Dan
Re: Naming question for get_property, set_property, Han-Wen Nienhuys, 2020/02/11