Ticket #11528: test-compile.txt

File test-compile.txt, 2.3 KB (added by Dennis Schneider <dsr@…>, 7 years ago)

Compiler output

Line 
11>c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility(1005): error C2338: next requires forward iterator
21> c:\program files (x86)\microsoft visual studio 14.0\vc\include\algorithm(4030): note: see reference to function template instantiation '_FwdIt std::next<_FwdIt>(_FwdIt,int)' being compiled
31> with
41> [
51> _FwdIt=boost::iterators::transform_iterator<double_int,std::_Vector_iterator<std::_Vector_val<std::_Simple_types<int>>>,boost::iterators::use_default,boost::iterators::use_default>
61> ]
71> c:\program files (x86)\microsoft visual studio 14.0\vc\include\algorithm(4039): note: see reference to function template instantiation '_FwdIt std::max_element<_FwdIt,std::less<void>>(_FwdIt,_FwdIt,_Pr)' being compiled
81> with
91> [
101> _FwdIt=boost::iterators::transform_iterator<double_int,std::_Vector_iterator<std::_Vector_val<std::_Simple_types<int>>>,boost::iterators::use_default,boost::iterators::use_default>,
111> _Pr=std::less<void>
121> ]
131> y:\source\repos\test-project\boost\range\algorithm\max_element.hpp(44): note: see reference to function template instantiation '_FwdIt std::max_element<boost::iterators::transform_iterator<P,It,boost::iterators::use_default,boost::iterators::use_default>>(_FwdIt,_FwdIt)' being compiled
141> with
151> [
161> _FwdIt=boost::iterators::transform_iterator<double_int,std::_Vector_iterator<std::_Vector_val<std::_Simple_types<int>>>,boost::iterators::use_default,boost::iterators::use_default>,
171> P=double_int,
181> It=std::_Vector_iterator<std::_Vector_val<std::_Simple_types<int>>>
191> ]
201> y:\source\repos\test-project\test-project.cpp(22): note: see reference to function template instantiation 'boost::iterators::transform_iterator<P,It,boost::iterators::use_default,boost::iterators::use_default> boost::range::max_element<boost::range_detail::transformed_range<double_int,std::vector<int,std::allocator<_Ty>>>>(const ForwardRange &)' being compiled
211> with
221> [
231> P=double_int,
241> It=std::_Vector_iterator<std::_Vector_val<std::_Simple_types<int>>>,
251> _Ty=int,
261> ForwardRange=boost::range_detail::transformed_range<double_int,std::vector<int,std::allocator<int>>>
271> ]