Opened 18 years ago
Closed 17 years ago
#10 closed defect (fixed)
theplu::utility::read_to_double (std::istream &is, std::vector< double > &vec)
Reported by: | Jari Häkkinen | Owned by: | Jari Häkkinen |
---|---|---|---|
Priority: | major | Milestone: | yat 0.2 |
Component: | utility | Version: | trunk |
Keywords: | Cc: |
Description (last modified by )
Change the implementation of this function to follow C/C++ style treatment of files and streams. Also theplu::utility::read_to_int (std::istream &is, std::vector< int > &vec).
Change History (8)
comment:1 Changed 18 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 17 years ago by
Milestone: | later → 0.2 |
---|
comment:5 Changed 17 years ago by
They are not used anywhere within yat. Previously it has been said that Peter has external code using them.
Earlier they were used within yat by the vector/matrix istream-constructors, but when I updated these constructors to use stringstreams and to support various column-separator-characters they became obsolete. However, the functionality I implemented should in principle be separated from the constructors, but I think we should do this separation later and investigate if not the lexicographical parser parts of Boost should be utililized instead.
comment:6 Changed 17 years ago by
Well, that external code is not used anymore, so I still vote for removing the functions.
comment:8 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Or should we redesign this? Or even remove it?