Boost logo

Boost :

Subject: Re: [boost] [Better Enums] More complete release - feedbackrequested
From: Peter Dimov (lists_at_[hidden])
Date: 2015-06-11 11:22:02


Anton Bachin wrote:
> I’m planning to overload the stream operators, but probably in a separate
> header file. The reason is that including <iostream> slows down
> compilation by an order of magnitude or so compared to just the current
> contents of enum.h, when used for a few enums. Do you think I should just
> not bother with this, and include it anyway?

<iosfwd> should be enough, I think.


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