This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" ex command for toggling hex mode - define mapping if desired | |
command -bar Hexmode call ToggleHex() | |
" helper function to toggle hex mode | |
function ToggleHex() | |
" hex mode should be considered a read-only operation | |
" save values for modified and read-only for restoration later, | |
" and clear the read-only flag for now | |
let l:modified=&mod | |
let l:oldreadonly=&readonly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace DB { | |
class Result { | |
public: | |
enum Value : uint8_t { | |
Success, | |
Failure | |
}; | |
constexpr Result() = default; |