Created on 2010-02-07.00:00:00 last changed 171 months ago
Proposed resolution:
In Table 109 — Seed sequence requirements, expression "r.param(ob)"
change the
Return type entry:
voidOutputIterator
In [rand.util.seedseq], class seed_seq synopsis change
template<class OutputIterator>voidOutputIterator param(OutputIterator dest) const;
[ 2010 Pittsburgh: ]
No technical counterarguments, but it is simply too late in the process to make this change at this point.
[ 2010-02-07 Howard adds: ]
At the time this issue was opened, the suggested changes are with respect to an anticipated draft which does not yet exist.
The Seed sequence requirements ([rand.req.seedseq]) require the existence of a member function
template<typename OutputIterator> void param(OutputIterator ob);
The fact that this function returns void instead of the value of ob after accepting the sequence data leads to the same problem as in issue 865 - In case of pure output iterators there is no way to serialize further data into that data sink.
History | |||
---|---|---|---|
Date | User | Action | Args |
2010-10-21 18:28:33 | admin | set | messages: + msg1561 |
2010-10-21 18:28:33 | admin | set | messages: + msg1560 |
2010-10-21 18:28:33 | admin | set | messages: + msg1559 |
2010-02-07 00:00:00 | admin | create |