Boost logo

Boost :

Subject: Re: [boost] Library proposal: binconst, constant of the binary form.
From: David Abrahams (dave_at_[hidden])
Date: 2009-01-15 09:22:05

on Wed Jan 14 2009, "TaeKyeong Wang" <> wrote:

> C++ programmers want to input a constant of the binary form, like
> following. But, this is illegal in C++ world.
> unsigned char value = 0b10001010;
> There are some solutions of this lack. But, I can't find the gratifying answer.

Dave Abrahams
BoostPro Computing

Boost list run by bdawes at, gregod at, cpdaniel at, john at