Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "units.h"
- #include <iostream>
- using namespace std;
- int main() {
- cout << "1MiB 440KiB = " << 1_mebi * 1_byte + 440_kibi * 1_byte << " Bytes" << endl;
- cout << "2016-02-08 = " << 2016_year + 2_month + 8_day << " Days" << endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement