I know this reduces the number of characters we have to type, but the same thing could be achieved by assigning a reference to the singleton instance to a local variable, e.g.:
What's the point in doing this? Debuggers can't resolve preprocessor statements, so if you try to do print WINDOW in something like gdb, it won't work.
I know this reduces the number of characters we have to type, but the same thing could be achieved by assigning a reference to the singleton instance to a local variable, e.g.:
What's the point in doing this? Debuggers can't resolve preprocessor statements, so if you try to do
print WINDOW
in something like gdb, it won't work.Addresses #6