Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dataflow
on Dec 29, 2017
|
parent
|
context
|
favorite
| on:
C++17 constexpr everything, or as much as the comp...
No? Wouldn't it do that with a static_assert invoking the function too?
Joky
on Jan 8, 2018
[–]
No sure I get the question: static_assert can only invoke constexpr functions, and constexpr functions can only call themselves other constexpr functions. Since IO functions are not constexpr, you can't call them there.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: