Opened 10 years ago

Closed 9 years ago

#7188 closed Bugs (fixed)

C4127 in Boost.Range's equal

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

Description

In range\algorithm\equal.hpp (line 34 and 74), a 'while (true)' statement is used giving C4127 (conditional expression is constant) for msvc 2010. I think m$ prefers 'for (;;)'; hopefully other compiler vendors as well.

Change History (1)

comment:1 by Neil Groves, 9 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.