Option for standard exception facilities with promise/future
Fix unused variable warnings when asserts are disabled