Boost logo

Boost :

From: Alexander Nasonov (alnsn-boost_at_[hidden])
Date: 2005-10-21 09:11:22

Andy Little <andy <at>> writes:

> I would expect value_type to reflect the number of nibbles
> e.g
> boost::binary_int<0000,0001> // unsigned char
> boost::binary_int<0000,0000,0001> // unsigned short or unsigned int
> dependent on platform dependent type

2.13.1 Integer literals, bullet 2 states

  If it is octal or hexadecimal and has no suffix, it has
  the first of these types in which its value can be represented:
  int, unsigned int, long int, unsigned long int.

I would expect the same for binary_literal.

Alexander Nasonov

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