Just building a thread to process my async sockets no biggie.
I used to use C++ casts but man... they sure are hilariously verbose.
I also turn off RTTI since I don't use it.
Anyhow, thanks for your help.
Const Correctness!
I used to use C++ casts but man... they sure are hilariously verbose.
That's a good thing. You want something that's conceptually ugly to be aesthetically ugly too.
Also with C++-style casts, it's much harder to accidentally cast more than you intended, as the C++ compiler will tell you that you've e.g. cast off const-ness unintentionally in a static_cast.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement