View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000219 | OpenFOAM | Bug | public | 2011-06-17 12:55 | 2012-01-05 16:49 |
Reporter | Assigned To | ||||
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Summary | 0000219: Foam::List cannot be constructed from a STL iterator or pointer range | ||||
Description | Although Foam::List has the constructor template<class T> template<class InputIterator> Foam::List<T>::List(InputIterator first, InputIterator last); it cannot be used with any STL compliant iterator which models a pointer since the implementation of said constructor calls InputIterator::operator()() instead of dereferencing the iterator with the standard InputIterator::operator*(). I'm not aware of any iterator class in OpenFOAM providing operator(), e.g. Foam::UList<T> and its child classes typedef T* as their iterator type. | ||||
Additional Information | This issue is also present in 2.0.x | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2011-06-17 12:55 |
|
New Issue | |
2012-01-05 16:48 |
|
Note Added: 0000901 | |
2012-01-05 16:49 |
|
Note Added: 0000902 | |
2012-01-05 16:49 |
|
Status | new => resolved |
2012-01-05 16:49 |
|
Fixed in Version | => 2.1.x |
2012-01-05 16:49 |
|
Resolution | open => fixed |
2012-01-05 16:49 |
|
Assigned To | => user17 |