11 Jun
2015
11 Jun
'15
3:22 p.m.
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.