mirror of
https://github.com/boostorg/array.git
synced 2025-06-29 22:11:14 +02:00
Suppress MSVC unreachable code warnings
This commit is contained in:
@ -4,11 +4,15 @@
|
||||
|
||||
#define BOOST_ALLOW_DEPRECATED_SYMBOLS
|
||||
|
||||
// assign is a deprecated nonstandard equivalent of fill
|
||||
|
||||
#include <boost/array.hpp>
|
||||
#include <boost/core/lightweight_test.hpp>
|
||||
#include <cstddef>
|
||||
|
||||
// assign is a deprecated nonstandard equivalent of fill
|
||||
#if defined(_MSC_VER)
|
||||
# pragma warning(disable: 4702) // unreachable code
|
||||
#endif
|
||||
|
||||
template<class T, std::size_t N> void test()
|
||||
{
|
||||
|
Reference in New Issue
Block a user