mirror of
https://github.com/boostorg/concept_check.git
synced 2025-07-31 21:14:48 +02:00
Added boost-wide <limits> woraround
[SVN r9688]
This commit is contained in:
@@ -48,7 +48,7 @@ namespace boost {
|
||||
class static_object {
|
||||
public:
|
||||
static T& get() {
|
||||
char d[sizeof(T)];
|
||||
static char d[sizeof(T)];
|
||||
return *reinterpret_cast<T*>(d);
|
||||
}
|
||||
};
|
||||
|
@@ -5,13 +5,16 @@
|
||||
// "as is" without express or implied warranty, and with no claim as
|
||||
// to its suitability for any purpose.
|
||||
//
|
||||
// Revision History:
|
||||
// 01 April 2001: Modified to use new <boost/limits.hpp> header. (JMaddock)
|
||||
//
|
||||
#ifndef BOOST_CONCEPT_CHECKS_HPP
|
||||
#define BOOST_CONCEPT_CHECKS_HPP
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include <boost/iterator.hpp>
|
||||
#include <utility>
|
||||
#include <boost/pending/limits.hpp>
|
||||
#include <boost/limits.hpp>
|
||||
#include <boost/static_assert.hpp>
|
||||
|
||||
#if defined(BOOST_MSVC) || defined(__BORLANDC__)
|
||||
|
Reference in New Issue
Block a user