C++14

Pages: 12
@Cheraphy
Any idea when we are supposed to be getting binary literals? Yes I know hex is easier to understand, but for some places I'd rather be looking at which bits are flipped. Ya know?


Some old compilers supported binary integer constants. For example from the documentation of one old compiler

Constants beginning with the characters 0b are taken to be binary constants. Only the digits 0 and 1 are valid within a binary constant. For example 0b1101 is a binary integer constant,
http://gcc.gnu.org/onlinedocs/gcc/Binary-constants.html

Wasn't there a discussion somewhere as to why they were proposed and dropped from C?
Catfish wrote:
Wasn't there a discussion somewhere as to why they were proposed and dropped from C?


Dunno. If there was I haven't read it :P But, glad to see gcc supports it regardless.
The wiki page on C++14 summarizes what is new in N3690
http://en.wikipedia.org/wiki/C%2B%2B14
Topic archived. No new replies allowed.
Pages: 12