Searched refs:FunctionObject (Results 1 – 5 of 5) sorted by relevance
13 class FunctionObject20 FunctionObject() { in FunctionObject() function25 FunctionObject(const FunctionObject&) {++count;} in FunctionObject() function26 ~FunctionObject() {--count; ((void)data_); } in ~FunctionObject()34 int FunctionObject::count = 0;
36 std::function<FuncType> f = FunctionObject(); in test_FunctionObject()37 assert(FunctionObject::count == 1); in test_FunctionObject()39 RTTI_ASSERT(f.template target<FunctionObject>()); in test_FunctionObject()44 assert(FunctionObject::count == 2); in test_FunctionObject()46 RTTI_ASSERT(f2.template target<FunctionObject>()); in test_FunctionObject()50 assert(FunctionObject::count == 0); in test_FunctionObject()
48 FunctionObject target; in test_FunctionObject()49 assert(FunctionObject::count == 1); in test_FunctionObject()52 assert(FunctionObject::count == 2); in test_FunctionObject()54 assert(f2.template target<FunctionObject>()); in test_FunctionObject()58 assert(FunctionObject::count == 0); in test_FunctionObject()
53 struct FunctionObject { struct56 static_assert(!std::uniform_random_bit_generator<FunctionObject>);68 struct FunctionObject { struct71 static_assert(!std::uniform_random_bit_generator<FunctionObject>);
426 json::Object FunctionObject({{"FunctionName", Diff.FuncName}, in getFunctionDiffListAsJSON() local429 FunctionDiffsAsJSON.push_back(std::move(FunctionObject)); in getFunctionDiffListAsJSON()