Update hook_helper.hpp

This commit is contained in:
LoveSy 2025-03-07 09:10:12 +08:00 committed by GitHub
parent 0110cf7e6e
commit ff815781ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -220,10 +220,4 @@ consteval auto operator|([[maybe_unused]] Symbol<S> a, [[maybe_unused]] Symbol<P
return a; return a;
#endif #endif
} }
void test() {
"test"_sym.hook->*[]<MemBackup auto backup>(std::string *x) static -> char {
return backup(x);
};
}
} // namespace lsplant } // namespace lsplant