I seriously question how committed C++ is to zero-cost abstractions when they designed and standardized an entire standard library that assumes you’re using exceptions and doesn’t really work well without them.
-
-
iostreams aren't even pretending to be zero-cost abstractions. If anything they pretend that using bitwise shifts has something to do with I/O.
-
You could say they are... zero shift abstractions. I know the way out
- 1 more reply
New conversation -
-
-
Won't you have to check the value of Result even during successful invocation? The allure of exceptions is that, it provides almost negligible cost in the success path. So, yes it is not for conventional control flows and using it as such will be problematic.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.