Opened 13 years ago

Closed 12 years ago

#623 closed defect (fixed)

StrideIterator<Concept2DIterator> fails boost concept check

Reported by: Peter Owned by: Peter
Priority: major Milestone: yat 0.7
Component: utility Version: trunk
Keywords: Cc:


I have the following code:

typedef Container2DIterator<const classifier::KernelLookup, double, const double> c2dIter;

typedef StrideIterator<c2dIter> StrideIter

where the last line causes compilation error:

/opt/local/include/boost/concept_check.hpp:207: error: conversion from 'boost::detail::iterator_category_with_traversal<std::input_iterator_tag, boost::random_access_traversal_tag>' to non-scalar type 'std::random_access_iterator_tag' requested

Change History (4)

comment:1 Changed 12 years ago by Peter

(In [2289]) adding test, refs #623

comment:2 Changed 12 years ago by Peter

Status: newassigned

comment:3 Changed 12 years ago by Peter

(In [2365]) refs #623

comment:4 Changed 12 years ago by Peter

Resolution: fixed
Status: assignedclosed

was fixed in r2364 and r2365

Note: See TracTickets for help on using tickets.