35#define NEKTAR_MAX_MEMORY_MANAGER_CONSTRUCTOR_ARGS 4
68 unsigned int three = 3;
75 BOOST_CHECK_EQUAL(ob4->
value, 6u);
82 BOOST_CHECK(ob1 ==
nullptr);
83 BOOST_CHECK(ob2 ==
nullptr);
84 BOOST_CHECK(ob3 ==
nullptr);
85 BOOST_CHECK(ob4 ==
nullptr);
99 std::shared_ptr<CountedObject<int>> ob1 =
110 std::shared_ptr<CountedObject<int>> ob2 =
121 std::shared_ptr<CountedObject<int>> ob3 =
132 std::shared_ptr<CountedObject<int>> ob4 =
142 BOOST_CHECK_EQUAL(ob4->value, 6u);
static void ClearCounters()
General purpose memory allocation routines with the ability to allocate from thread specific memory p...
static std::shared_ptr< DataType > AllocateSharedPtr(const Args &...args)
Allocate a shared pointer from the memory pool.
BOOST_AUTO_TEST_CASE(testParameterizedConstructors)