From:  Kaz Kylheku <643-408-1753@kylheku.com>
Date:  14 Oct 2024 00:39:48 Hong Kong Time
Newsgroup:  news.alt119.net/comp.lang.c
Subject:  

Re: constexpr keyword is unnecessary

NNTP-Posting-Host:  null

On 2024-10-11, Thiago Adams  wrote:
> What I am suggesting again is remove the keyword constexpr. make const 
> do that.
>
> Just to remember C++ was already like that before constexpr. In c++ 
> const could be used as constant expressions.

Really?

  const int f(int x) { ... }

says that calls to f can be evaluated at compile time?

-- 
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca