[tuple][io] compiler error on empty tuple

19 Mar
2009
19 Mar
'09
5:33 p.m.
Apparently boost::tuple's io-support doesn't include empty tuples. See attached, this results in a compiler error using g++ 4.3.3. I think it shouldn't give an error, since "b" is a valid instance. Kind regards, Rutger ter Borg

19 Mar
19 Mar
6:44 p.m.
AMDG Rutger ter Borg wrote:
Apparently boost::tuple's io-support doesn't include empty tuples. See attached, this results in a compiler error using g++ 4.3.3. I think it shouldn't give an error, since "b" is a valid instance.
empty tuples are currently supported for input but not for output. Patch attached. In Christ, Steven Watanabe
5931
Age (days ago)
5931
Last active (days ago)
2 comments
2 participants
participants (2)
-
Rutger ter Borg
-
Steven Watanabe