Opened 3 years ago
Closed 3 years ago
#947 closed defect (fixed)
getvector(vector<double>&)
Reported by: | Peter | Owned by: | Peter |
---|---|---|---|
Priority: | major | Milestone: | yat 0.17.1 |
Component: | utility | Version: | 0.17 |
Keywords: | Cc: |
Description
For T being numeric the vector is appended to the current vector, whereas for T=string, the passed vector is ignored. This inconsistent behaviour is confusing and although not documented a bug. I'd suggest the T=string behaviour is the expected so the user can do
while (getvector(is, vec, '\t')) { yada yada }
Change History (2)
comment:1 Changed 3 years ago by
Owner: | changed from Jari Häkkinen to Peter |
---|---|
Status: | new → accepted |
comment:2 Changed 3 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note: See
TracTickets for help on using
tickets.
Fixed in r3923