On Thu, Aug 20, 2009 at 16:02, Peter Kasting <[email protected]> wrote:

> On Thu, Aug 20, 2009 at 3:33 PM, Andrew Scherkus <[email protected]>wrote:
>
>> Any opposition to globally declaring an operator<< ostream overload for
>> TimeDelta in base/time.h?
>>
>
> This will pull the stream headers into all files that use time.h.  Is that
> going to bloat any code or cost compile time?
>

You can use <iosfwd> and implement the operator in the .cc file. I actually
recommend doing it that way.

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to