File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -282,13 +282,15 @@ namespace boost {
282282 static reference failed_rangecheck () {
283283 std::out_of_range e (" attempt to access element of an empty array" );
284284 boost::throw_exception (e);
285+ #if defined(BOOST_NO_EXCEPTIONS) || !defined(BOOST_MSVC)
285286 //
286287 // We need to return something here to keep
287288 // some compilers happy: however we will never
288289 // actually get here....
289290 //
290291 static T placeholder;
291292 return placeholder;
293+ #endif
292294 }
293295 };
294296#endif
Original file line number Diff line number Diff line change 55 * http://www.boost.org/LICENSE_1_0.txt)
66 */
77
8+ #ifndef _SCL_SECURE_NO_WARNINGS
9+ // Suppress warnings from the std lib:
10+ # define _SCL_SECURE_NO_WARNINGS
11+ #endif
12+
813#include < algorithm>
914#include < functional>
1015#include < boost/array.hpp>
You can’t perform that action at this time.
0 commit comments