diff --git a/include/boost/utility.hpp b/include/boost/utility.hpp index 676dde5..0f0d787 100644 --- a/include/boost/utility.hpp +++ b/include/boost/utility.hpp @@ -13,37 +13,13 @@ #ifndef BOOST_UTILITY_HPP #define BOOST_UTILITY_HPP -#include // broken compiler workarounds -#include - // certain headers are part of the interface + +#include #include - -#include // for size_t -#include // for std::pair namespace boost { -// checked_delete() and checked_array_delete() -----------------------------// - - // verify that types are complete for increased safety - - template< typename T > - inline void checked_delete(T * x) - { - BOOST_STATIC_ASSERT( sizeof(T) != 0 ); // assert type complete at point - // of instantiation - delete x; - } - - template< typename T > - inline void checked_array_delete(T * x) - { - BOOST_STATIC_ASSERT( sizeof(T) != 0 ); // assert type complete at point - // of instantiation - delete [] x; - } - // next() and prior() template functions -----------------------------------// // Helper functions for classes like bidirectional iterators not supporting