Opened 11 years ago

Closed 11 years ago

#1565 closed Bugs (fixed)

iterator_range disables msvc warning 4996

Reported by: Steven Watanabe Owned by: Thorsten Ottosen
Milestone: Boost 1.36.0 Component: range
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:


boost/range/iterator_range.hpp contains

#pragma warning( disable : 4996 )

This should be preceded by #pragma warning(push) and there should be #pragma warning(pop) at the end of the file, so that the suppression is localized.

Change History (2)

comment:1 Changed 11 years ago by Steven Watanabe

ditto for sub_range.hpp

comment:2 Changed 11 years ago by Thorsten Ottosen

Resolution: fixed
Status: newclosed

Donr in trunk.

Note: See TracTickets for help on using tickets.