35#define NEKTAR_MAX_MEMORY_MANAGER_CONSTRUCTOR_ARGS 4
43namespace MemManagerUnitTests
70 unsigned int three = 3;
77 BOOST_CHECK_EQUAL(ob4->
value, 6u);
84 BOOST_CHECK(ob1 == NULL);
85 BOOST_CHECK(ob2 == NULL);
86 BOOST_CHECK(ob3 == NULL);
87 BOOST_CHECK(ob4 == NULL);
101 std::shared_ptr<CountedObject<int>> ob1 =
112 std::shared_ptr<CountedObject<int>> ob2 =
123 std::shared_ptr<CountedObject<int>> ob3 =
134 std::shared_ptr<CountedObject<int>> ob4 =
144 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)
The above copyright notice and this permission notice shall be included.