Boost logo

Boost :

From: Samuel Krempp (krempp_at_[hidden])
Date: 2003-02-03 07:30:22


Le jeu 16/01/2003 à 15:13, Yitzhak Sapir a écrit :
> 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>

what compiler (and standard lib if not the default one) are you using ?

-- 
Samuel

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