Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: 0b numeric prefix



On Tue, 25 Nov 2014 17:47:08 +0100
Christian Neukirchen <chneukirchen@xxxxxxxxx> wrote:
> Peter Stephenson <p.stephenson@xxxxxxxxxxx> writes:
> 
> > I'm not sure whether to output this form in C_BASES mode.  On the one
> > hand, it's more likely to be understood on input in utilities other than
> > shells than 2#blah; on the other, it won't work with older versions of
> > zsh or other shells (not that C_BASES is designed with other shells in
> > mind).  Because of the latter I'm not intending to do this.  It would
> > also be a perversion of the name of the option.
> 
> C++14 has binary literals afaict.  gcc and clang implement it already.

Indeed, going back a few years now, apparently.  So might be worth an
option for output at some point.

pws



Messages sorted by: Reverse Date, Date, Thread, Author