Created
January 12, 2015 05:50
-
-
Save theoremoon/17c661b9488e8ab350ad to your computer and use it in GitHub Desktop.
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
#include <iostream> | |
using namespace std; | |
constexpr unsigned long long int operator"" _K(unsigned long long int n){ | |
return n*1024; | |
} | |
int main(){ | |
std::cout << 1_K << endl; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment