Boost logo

Boost :

From: Gennadiy E. Rozental (rogeeff_at_[hidden])
Date: 2001-09-07 11:57:59


Hi,

I propose following change in fun_out_iter_example.cpp to be able to
compile it with Solaris Forte C++ 6 u.1

Gennadiy.

cvs diff fun_out_iter_example.cpp
Index: fun_out_iter_example.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/utility/fun_out_iter_example.cpp,v
retrieving revision 1.1
diff -r1.1 fun_out_iter_example.cpp
17a18,19
> namespace { std::string default_string = ""; }
>
19c21
< string_appender(std::string& s) : m_str(s) { }

---
>   string_appender(std::string& s = default_string) : m_str(s) { }

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