Boost logo

Boost :

From: Hubert HOLIN (Hubert.Holin_at_[hidden])
Date: 2002-12-10 07:33:29


Somewhere in the E.U., le 10/12/2002

        Hi

David Abrahams wrote:
>
> "Rozental, Gennadiy" <gennadiy.rozental_at_[hidden]> writes:

[SNIP]

> >> # From: ..\libs\test\src\test_tools.cpp
> >> # ----------------------------------------
> >> # 53: void short_report( std::ostream& where_to_,
> > size_t indent_ = 0 ); // short
> >> # Error:
> > ^^^^^^
> >> # declaration syntax error
> >
> > Why?
>
> Perhaps you didn't add the std:: qualification or you didn't include
> stddef.h?
>
> Those would be the obvious and usual reasons for a complaint about
> size_t.

[SNIP]

                Changed to ::std::size_t in my local copy and the problem went away.

HH


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