Kakurady · @kakurady
286 followers · 982 posts · Server fursuits.online

Reminder: (*void)0 isn't required to be all-zero in memory, and dereferencing it isn't required to crash

#clanguage #cppprogramming #cplusplus

Last updated 1 year ago

Kakurady · @kakurady
273 followers · 826 posts · Server fursuits.online

@thephd I think naming it "modules" is a mistake. I keep expecting it to be a packaging format, but it's not. It's a more flexible version of precompiled headers…

…that doesn't get completely invalidated because you adjusted the order of import, or your macro definitions.

The idea is what happens outside a module can't affect the definitions exported from the module. Which explains why macros defined outside the module aren't visible inside it.

#cppprogramming #cplusplus

Last updated 1 year ago

Lorenzo Cogotti · @micia
72 followers · 637 posts · Server mastodon.uno

Ho visto l'header stdfloat del C++23 ed è stato amore a prima vista.

en.cppreference.com/w/cpp/head

#programming #cppprogramming

Last updated 2 years ago

Chauhan Pruthviraj · @cpp
0 followers · 3 posts · Server hachyderm.io

tells the include the content of file which we write between two angle brackets like <iostream>, it tells the preprocessor that include the content of iostream file and paste there where include statement is written.

#include #cpp #cppneon #cppprogramming

Last updated 2 years ago