Quantcast
Channel: User HolyBlackCat - Stack Overflow
Viewing all articles
Browse latest Browse all 1285

Comment by HolyBlackCat on How to check that a function result is constexpr even when the argument is not?

$
0
0
@Oersted I think the first paragraph of the question is good enough as a layman explanation. If you're looking for something more official, it's somewhere in eel.is/c++draft/expr.const#def:expression,core_constant (everything is constexpr if not explicitly disallowed there, and apparently passing unused non-constexpr arguments isn't disallowed).

Viewing all articles
Browse latest Browse all 1285

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>