From 864270f6cb9095f1a977d4a41f3ad692e1e6dcc2 Mon Sep 17 00:00:00 2001 From: philip82148 <92205270+philip82148@users.noreply.github.com> Date: Sat, 11 May 2024 14:41:51 +0900 Subject: [PATCH] test commit --- .github/workflows/ctest.yml | 1 + hpp/type_check.hpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/ctest.yml b/.github/workflows/ctest.yml index 2aceccef..d4f471eb 100644 --- a/.github/workflows/ctest.yml +++ b/.github/workflows/ctest.yml @@ -28,3 +28,4 @@ jobs: cmake -S . -B build -D CMAKE_CXX_COMPILER=${{matrix.env.compiler}} -D CMAKE_CXX_STANDARD=${{matrix.std}} -D CMAKE_CXX_STANDARD_REQUIRED=ON cmake --build build ctest --test-dir build --output-on-failure -C Debug + ./build/readme_user-defined-class2 diff --git a/hpp/type_check.hpp b/hpp/type_check.hpp index 379dd9c1..9e0def16 100644 --- a/hpp/type_check.hpp +++ b/hpp/type_check.hpp @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include @@ -303,6 +304,7 @@ std::string get_typename() { #endif std::string func_name = _get_typename<_remove_cref>().str; + std::cout << func_name << std::endl; std::string type_name = func_name.substr(prefix_length, func_name.length() - prefix_length - suffix_length);