lilypond-devel
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]