Lines Matching refs:alloc
29 void test_FunctionObject(AllocType& alloc)
41 std::function<FuncType> f2(std::allocator_arg, alloc, f);
53 void test_FreeFunction(AllocType& alloc)
65 std::function<FuncType> f2(std::allocator_arg, alloc, f);
75 void test_MemFunClass(AllocType& alloc)
87 std::function<FuncType> f2(std::allocator_arg, alloc, f);
97 void test_for_alloc(Alloc& alloc)
100 test_FunctionObject<int()>(alloc);
101 test_FunctionObject<int(int)>(alloc);
102 test_FunctionObject<int(int, int)>(alloc);
103 test_FunctionObject<int(int, int, int)>(alloc);
105 test_FreeFunction<int()>(alloc);
106 test_FreeFunction<int(int)>(alloc);
107 test_FreeFunction<int(int, int)>(alloc);
108 test_FreeFunction<int(int, int, int)>(alloc);
110 test_MemFunClass<int(MemFunClass::*)() const, int(MemFunClass&)>(alloc);
111 test_MemFunClass<int(MemFunClass::*)(int) const, int(MemFunClass&, int)>(alloc);
112 test_MemFunClass<int(MemFunClass::*)(int, int) const, int(MemFunClass&, int, int)>(alloc);
118 bare_allocator<DummyClass> alloc;
119 test_for_alloc(alloc);
122 non_default_test_allocator<DummyClass> alloc(42);
123 test_for_alloc(alloc);