Viewing profile — tcbrindle
tcbrindle
HN member- Joined
- Thu, Jan 28, 2016, 10:34 AM UTC
- HN karma
- 58
- Public activity
- 8 items
- HN profile
- View on Hacker News ↗
About tcbrindle
No profile information was provided.
Recent public activity
-
comment
Comment #41466812
> memory_order::relaxed No it isn't. https://godbolt.org/z/bz7EhMhMT
-
comment
Comment #19017382
Except that, as mentioned in TFA, as currently proposed it's possible to say #if SOME_PREPROCESSOR_JUNK import foo; #else import bar; #endif This has legitimate use cases, say #ifd…
-
comment
Comment #19017234
The presence of template specialisations and constexpr functions means that the GP is right here; you cannot decide whether an arbitrary piece of C++ is syntactically valid without…
-
comment
Comment #18337119
> Why on earth would you do this? Good question! :) It actually started out as a learning exercise -- I didn't (and still don't) know much about ray tracing, and so I thought it wo…
-
comment
Comment #18336939
While constexpr was introduced in C++11, it was initially very limited -- a constexpr function could only consist of a single return statement, for example. It was only in C++14 th…
-
comment
Comment #18336187
6. A constexpr function is guaranteed to have no undefined behaviour (when evaluated at compile time, anyway)
-
comment
Comment #18336063
Author here. I wrote this on a rainy weekend last year and mostly forgot about it, so it was a bit of a surprise to see it pop up on HN this morning! Happy to answer any questions …
-
comment
Comment #11237203
I admit I clicked this thinking it was going to be about junk food.