Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
beza1e1
on Aug 13, 2011
|
parent
|
context
|
favorite
| on:
C++ 11 Approved
Die original idea was to replace the "x" with the right year. Since 2009 (C++09) didn't happen, it is C++11 now. Geeky would be hex: C++0B
notgeekyenough
on Aug 13, 2011
|
next
[–]
If you wanted to write a year in hex, using the value mod 100 seems a weird way to do it. The hex year is 0x07DB, so if anything it would be C++DB. Or perhaps the first 3-4 hex digits of the Unix time would make sense - C++4E46.
Sharlin
on Aug 13, 2011
|
prev
|
next
[–]
0B is an invalid octal literal, to get a hex literal you'd just append B, yielding C++0xB ;)
swixmix
on Aug 13, 2011
|
prev
[–]
Octal 013 would be more appropriate.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: