Skip to content

Commit

Permalink
test commit
Browse files Browse the repository at this point in the history
  • Loading branch information
philip82148 committed May 11, 2024
1 parent 9d33e9f commit 864270f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ctest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions hpp/type_check.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <complex>
#include <exception>
#include <functional>
#include <iostream>
#include <map>
#include <memory>
#include <optional>
Expand Down Expand Up @@ -303,6 +304,7 @@ std::string get_typename() {
#endif

std::string func_name = _get_typename<_remove_cref<T>>().str;
std::cout << func_name << std::endl;
std::string type_name =
func_name.substr(prefix_length, func_name.length() - prefix_length - suffix_length);

Expand Down

0 comments on commit 864270f

Please sign in to comment.