We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Probably from the 10.15.4 update with last Xcode I get this error:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__string:56: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:2567:5: error: static_assert failed due to requirement '__is_forward_iterator<DGtal::ConstIteratorAdapter<DGtal::HyperRectDomain_Iterator<DGtal::PointVector<2, int, std::__1::array<int, 2> > >, DGtal::DistanceTransformation<DGtal::SpaceND<2, int>, DGtal::functors::SimpleThresholdForegroundPredicate<DGtal::ImageContainerBySTLVector<DGtal::HyperRectDomain<DGtal::SpaceND<2, int> >, unsigned int> >, DGtal::ExactPredicateLpSeparableMetric<DGtal::SpaceND<2, int>, 2, long long>, DGtal::ImageContainerBySTLVector<DGtal::HyperRectDomain<DGtal::SpaceND<2, int> >, DGtal::PointVector<2, int, std::__1::array<int, 2> > > >, double> >::value' "std::max_element requires a ForwardIterator" static_assert(__is_forward_iterator<_ForwardIterator>::value, ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:2586:19: note: in instantiation of function template specialization 'std::__1::max_element<DGtal::ConstIteratorAdapter<DGtal::HyperRectDomain_Iterator<DGtal::PointVector<2, int, std::__1::array<int, 2> > >, DGtal::DistanceTransformation<DGtal::SpaceND<2, int>, DGtal::functors::SimpleThresholdForegroundPredicate<DGtal::ImageContainerBySTLVector<DGtal::HyperRectDomain<DGtal::SpaceND<2, int> >, unsigned int> >, DGtal::ExactPredicateLpSeparableMetric<DGtal::SpaceND<2, int>, 2, long long>, DGtal::ImageContainerBySTLVector<DGtal::HyperRectDomain<DGtal::SpaceND<2, int> >, DGtal::PointVector<2, int, std::__1::array<int, 2> > > >, double>, std::__1::__less<double, double> >' requested here return _VSTD::max_element(__first, __last, ^ DGtal/examples/geometry/volumes/distance/toricdomainvolumetric.cpp:119:49: note: in instantiation of function template specialization 'std::__1::max_element<DGtal::ConstIteratorAdapter<DGtal::HyperRectDomain_Iterator<DGtal::PointVector<2, int, std::__1::array<int, 2> > >, DGtal::DistanceTransformation<DGtal::SpaceND<2, int>, DGtal::functors::SimpleThresholdForegroundPredicate<DGtal::ImageContainerBySTLVector<DGtal::HyperRectDomain<DGtal::SpaceND<2, int> >, unsigned int> >, DGtal::ExactPredicateLpSeparableMetric<DGtal::SpaceND<2, int>, 2, long long>, DGtal::ImageContainerBySTLVector<DGtal::HyperRectDomain<DGtal::SpaceND<2, int> >, DGtal::PointVector<2, int, std::__1::array<int, 2> > > >, double> >' requested here const DTL2::Value maxv2 = * (std::max_element(dtL2.constRange().begin(), dtL2.const... ^ 1 error generated.
The text was updated successfully, but these errors were encountered:
Is that not a duplicate of #1437 ? (the __is_forward_iterator requirement that fails)
__is_forward_iterator
Sorry, something went wrong.
Yes it is, same file, same line. Closing...
Sorry @rolanddenis I miss it.
rolanddenis
No branches or pull requests
Probably from the 10.15.4 update with last Xcode I get this error:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__string:56:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:2567:5: error:
static_assert failed due to requirement
'__is_forward_iterator<DGtal::ConstIteratorAdapter<DGtal::HyperRectDomain_Iterator<DGtal::PointVector<2,
int, std::__1::array<int, 2> > >, DGtal::DistanceTransformation<DGtal::SpaceND<2, int>,
DGtal::functors::SimpleThresholdForegroundPredicate<DGtal::ImageContainerBySTLVector<DGtal::HyperRectDomain<DGtal::SpaceND<2,
int> >, unsigned int> >, DGtal::ExactPredicateLpSeparableMetric<DGtal::SpaceND<2, int>, 2, long
long>, DGtal::ImageContainerBySTLVector<DGtal::HyperRectDomain<DGtal::SpaceND<2, int> >,
DGtal::PointVector<2, int, std::__1::array<int, 2> > > >, double> >::value' "std::max_element
requires a ForwardIterator"
static_assert(__is_forward_iterator<_ForwardIterator>::value,
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:2586:19: note:
in instantiation of function template specialization
'std::__1::max_element<DGtal::ConstIteratorAdapter<DGtal::HyperRectDomain_Iterator<DGtal::PointVector<2,
int, std::__1::array<int, 2> > >, DGtal::DistanceTransformation<DGtal::SpaceND<2, int>,
DGtal::functors::SimpleThresholdForegroundPredicate<DGtal::ImageContainerBySTLVector<DGtal::HyperRectDomain<DGtal::SpaceND<2,
int> >, unsigned int> >, DGtal::ExactPredicateLpSeparableMetric<DGtal::SpaceND<2, int>, 2, long
long>, DGtal::ImageContainerBySTLVector<DGtal::HyperRectDomain<DGtal::SpaceND<2, int> >,
DGtal::PointVector<2, int, std::__1::array<int, 2> > > >, double>, std::__1::__less<double, double>
>' requested here
return _VSTD::max_element(__first, __last,
^
DGtal/examples/geometry/volumes/distance/toricdomainvolumetric.cpp:119:49: note:
in instantiation of function template specialization
'std::__1::max_element<DGtal::ConstIteratorAdapter<DGtal::HyperRectDomain_Iterator<DGtal::PointVector<2,
int, std::__1::array<int, 2> > >, DGtal::DistanceTransformation<DGtal::SpaceND<2, int>,
DGtal::functors::SimpleThresholdForegroundPredicate<DGtal::ImageContainerBySTLVector<DGtal::HyperRectDomain<DGtal::SpaceND<2,
int> >, unsigned int> >, DGtal::ExactPredicateLpSeparableMetric<DGtal::SpaceND<2, int>, 2, long
long>, DGtal::ImageContainerBySTLVector<DGtal::HyperRectDomain<DGtal::SpaceND<2, int> >,
DGtal::PointVector<2, int, std::__1::array<int, 2> > > >, double> >' requested here
const DTL2::Value maxv2 = * (std::max_element(dtL2.constRange().begin(), dtL2.const...
^
1 error generated.
The text was updated successfully, but these errors were encountered: