[tuple][io] compiler error on empty tuple

19 Mar
2009
19 Mar
'09
10:33 a.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
11:44 a.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
5966
Age (days ago)
5966
Last active (days ago)
2 comments
2 participants
participants (2)
-
Rutger ter Borg
-
Steven Watanabe