11 Jun
2015
11 Jun
'15
3:25 p.m.
On Jun 11, 2015, at 10:22, Peter Dimov
wrote: 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.
Perfect, this is the kind of thing I was hoping for. Thanks!