This commit is contained in:
2026-04-27 15:10:57 -05:00
parent 566f210f3f
commit 149c4c3d80
8 changed files with 80 additions and 41 deletions

8
src/common/overloaded.hh Normal file
View File

@@ -0,0 +1,8 @@
#ifndef TYCHE_OVERLOADED_HH
#define TYCHE_OVERLOADED_HH
// used by std::visitor
template<class... Ts>
struct overloaded : Ts... { using Ts::operator()...; };
#endif //TYCHE_OVERLOADED_HH