CTFE in Rust nighties

Ola Fosheim Grostad ola.fosheim.grostad at gmail.com
Wed Nov 27 08:50:51 UTC 2019


On Wednesday, 27 November 2019 at 08:46:08 UTC, IGotD- wrote:
> On Wednesday, 27 November 2019 at 07:46:40 UTC, Paulo Pinto 
> wrote:
>>
>> They do, const and static contexts.
>
> Ok, they solve it that way. If a function is declared const, 
> can you feed it with run time parameters as well? If so, what 
> is the point of declaring the function const?

I assume same as C++ constexpr, so that APIs are stable even if 
the implementation changes.


More information about the Digitalmars-d mailing list