Boost logo

Boost Users :

Subject: [Boost-users] using embedded stringstream on a single line.
From: Avi Bahra (avibahra_at_[hidden])
Date: 2009-08-26 11:13:04


Is there anything in boost/design pattern that can help with following:

    std::stringstream ss;
    ss << "SUBMIT: Task(" << absPath << ") ";
    log( Log::DBG, ss );

The code I am working on does this all over the place, what I would like is
:

     log( Log::DBG, "SUBMIT: Task(" << absPath << ") " );

  Best regards,
Ta,
   Avi



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net