Opened 15 years ago
Closed 15 years ago
#402 closed enhancement (fixed)
const conversion in StrideIterator
Reported by: | Peter | Owned by: | Peter |
---|---|---|---|
Priority: | major | Milestone: | yat 0.5 |
Component: | utility | Version: | trunk |
Keywords: | Cc: |
Description
Basically StrideIterator<Base>
should be assignable to a StrideIterator<Base2>
iff Base
is assignable to a Base2
.
Look at DataIterator? for hints.
Change History (3)
comment:1 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 15 years ago by
Priority: | minor → critical |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
iterator_test doesn't compile on my mac likely because of [1386]
Compiler gives this error message
iterator_test.cc:121: error: ambiguous overload for 'operator==' in 'stride_ci == stride_i' ../yat/utility/StrideIterator.h:251: note: candidates are: bool theplu::yat::utility::operator==(const theplu::yat::utility::StrideIterator<__gnu_cxx::__normal_iterator<double*, std::vector<double, std::allocator<double> > > >&, const theplu::yat::utility::StrideIterator<__gnu_cxx::__normal_iterator<double*, std::vector<double, std::allocator<double> > > >&) ../yat/utility/StrideIterator.h:251: note: bool theplu::yat::utility::operator==(const theplu::yat::utility::StrideIterator<__gnu_cxx::__normal_iterator<const double*, std::vector<double, std::allocator<double> > > >&, const theplu::yat::utility::StrideIterator<__gnu_cxx::__normal_iterator<const double*, std::vector<double, std::allocator<double> > > >&)
comment:3 Changed 15 years ago by
Priority: | critical → major |
---|---|
Resolution: | → fixed |
Status: | reopened → closed |
fixed in [1390]
Note: See
TracTickets for help on using
tickets.
fixed in [1386]