Opened 10 years ago

Closed 10 years ago

#7702 closed Bugs (duplicate)

warning C4913

Reported by: gast128@… Owned by: Neil Groves
Milestone: To Be Determined Component: range
Version: Boost 1.52.0 Severity: Cosmetic
Keywords: Cc:

Description

With vc2010 one gets 'warning C4913: user defined binary operator ',' exists...' in boost/detail/is_sorted.hpp on line 25 'for (; it != last; first = it, ++it)'.

Item #7663 reports the same but in a different source.

Change History (2)

comment:1 by gast128@…, 10 years ago

seems caused by '#include <boost/utility/result_of.hpp>'. So steps to reproduce:

#include <boost/utility/result_of.hpp> #include <vector> #include <boost/range/algorithm_ext/is_sorted.hpp>

int main(int argc, char* argv[]) {

std::vector<int> vec;

boost::is_sorted(vec);

return 0;

}

comment:2 by Eric Niebler, 10 years ago

Resolution: duplicate
Status: newclosed

Dupe of #7663.

Note: See TracTickets for help on using tickets.