Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-01-12 23:44:41


"Jaap Suter" <J.Suter_at_[hidden]> writes:

>> using std::size_t;
>
> Seeing this, I'm wondering what the boost policy on the use of size_t is.
> I'm using it all over the place, and treating it as a built-in. I'm neither
> including anything or using a namespace. Is this wrong?

Yes. size_t is defined in <cstddef> (or <stddef.h>, for philistines).

-- 
                       David Abrahams
   dave_at_[hidden] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk