mirror of
https://github.com/boostorg/container.git
synced 2025-08-02 14:04:26 +02:00
Sync'ed with deveop changes.
This commit is contained in:
@@ -123,8 +123,8 @@ struct node
|
||||
rebind_pointer<void>::type
|
||||
>
|
||||
{
|
||||
// private:
|
||||
// node();
|
||||
private:
|
||||
node();
|
||||
|
||||
public:
|
||||
typename ::boost::intrusive::pointer_traits<Pointer>::element_type value;
|
||||
|
@@ -68,7 +68,7 @@ class test_allocator
|
||||
}
|
||||
|
||||
std::size_t max_size() const
|
||||
{ return std::size_t(Id); }
|
||||
{ return std::size_t(-1); }
|
||||
|
||||
T* allocate(std::size_t n)
|
||||
{ return (T*)::new char[n*sizeof(T)]; }
|
||||
|
@@ -11,14 +11,6 @@
|
||||
#include <boost/detail/lightweight_test.hpp>
|
||||
#include <boost/detail/no_exceptions_support.hpp>
|
||||
|
||||
// TODO: Disable parts of the unit test that should not run when BOOST_NO_EXCEPTIONS
|
||||
// if exceptions are enabled there must be a user defined throw_exception function
|
||||
#ifdef BOOST_NO_EXCEPTIONS
|
||||
namespace boost {
|
||||
void throw_exception(std::exception const &){}; // user defined
|
||||
} // namespace boost
|
||||
#endif // BOOST_NO_EXCEPTIONS
|
||||
|
||||
#include <vector>
|
||||
#include <list>
|
||||
|
||||
|
Reference in New Issue
Block a user