Boost logo

Boost :

From: Yitzhak Sapir (yitzhaks_at_[hidden])
Date: 2003-01-16 09:13:24


I tried to use boost::format in a simple manner. The line in question is:
    std::cout << boost::format("%0d") % some_function();

Unfortunately, in order for this to compile I have to:
1) #include <locale>
2) add a line "using namespace std;"
before I include <boost/format.hpp>

This happens because of the use of isdigit in parsing.hpp.

I am using the version in cvs as of a few days ago.


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