From 781877bd26ed7ab01ae6cf952bf4691641593ed2 Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Sat, 22 Mar 2025 01:21:56 +0100 Subject: Add function_ref --- asl/types/BUILD.bazel | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'asl/types/BUILD.bazel') diff --git a/asl/types/BUILD.bazel b/asl/types/BUILD.bazel index 58d7183..198d0a2 100644 --- a/asl/types/BUILD.bazel +++ b/asl/types/BUILD.bazel @@ -90,6 +90,17 @@ cc_library( visibility = ["//visibility:public"], ) +cc_library( + name = "function_ref", + hdrs = [ + "function_ref.hpp", + ], + deps = [ + "//asl/base", + ], + visibility = ["//visibility:public"], +) + cc_test( name = "function_tests", srcs = ["function_tests.cpp"], @@ -100,6 +111,16 @@ cc_test( ], ) +cc_test( + name = "function_ref_tests", + srcs = ["function_ref_tests.cpp"], + deps = [ + "//asl/tests:utils", + "//asl/testing", + "//asl/types:function_ref", + ], +) + cc_test( name = "box_tests", srcs = ["box_tests.cpp"], -- cgit