From 3e8b616bf9d0513824d4452e3e77fccac910f0fb Mon Sep 17 00:00:00 2001 From: Brett Date: Tue, 6 Aug 2024 03:44:20 -0400 Subject: [PATCH] fix lambda_helper --- CMakeLists.txt | 2 +- include/blt/std/meta.h | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index daf03d8..68008f5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.20) include(cmake/color.cmake) -set(BLT_VERSION 0.18.22) +set(BLT_VERSION 0.18.23) set(BLT_TEST_VERSION 0.0.1) set(BLT_TARGET BLT) diff --git a/include/blt/std/meta.h b/include/blt/std/meta.h index 828819c..b21408c 100644 --- a/include/blt/std/meta.h +++ b/include/blt/std/meta.h @@ -47,12 +47,18 @@ namespace blt::meta }; template - struct lambda_helper + struct lambda_helper { using Lambda = TheLambda; using Return = IReturn; using Class = IClass; using Args = arg_helper; + + template + explicit lambda_helper(T) + {} + + lambda_helper() = default; }; template