
Gennadiy Rozental wrote:
One question, as I'm not familiar with the serialization library. What effect do the proposed changes have on those users of variant who do not need/want serialization support? Obviously there is the addition #include, but does this imply overhead, or is the header simply forward declares in the spirit of <iosfwd>?
Implement everything in separate header (f.e. boost/variant/serialization.hpp) and there wouldn't be any cost for people who don't need that
Gennadiy
As it stands the implementaion is intrusive, separate header won't work. The author added a couple of internal vistior types. But I will have a look and see exactly what the story is, I didn't think of this when I cleaned it up. I also notice that what I put up has debugging cruft in it that I overlooked, sorry if anybody played with it and it didn't work... troy d. straszheim