Boost logo

Boost :

From: John Maddock (jm_at_[hidden])
Date: 2002-12-19 06:44:16

> I am a newbie to boost libraries. Just a small query :
> Using the <sstream.h> library file provided at for the
> regex example program, I am getting an error as follows :
> regex_merge_example.cpp: In function `int main(int, const char **)':
> regex_merge_example.cpp:74: `::ostringstream' undeclared (first use
> here)
> regex_merge_example.cpp:74: parse error before `('
> regex_merge_example.cpp:75: `t' undeclared (first use this function)
> regex_merge_example.cpp:75: (Each undeclared identifier is reported
> only once
> regex_merge_example.cpp:75: for each function it appears in.)
> I have included the header in the include search path (-I), but
> still I
> am seeing this problem. Can you please help me in this regard.
> Thanks in advance.

Looks to be more of a question for the authors of your <sstream> header -
does it define ostringstream?

John Maddock

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