Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

    #define DEF   (ABC+(GHI<<JKL_SHIFT))


Please make a point.


I did. This is exactly what we need for constexpr for.


Nothing you've demonstrated requires the use of constexpr. A const is perfectly suited for that.


One of us doesn't know C.


https://godbolt.org/z/de1YGG5r1

I hope for your sake that you don't speak this way other than anonymously on the Internet; it reflects very poorly of you.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: