.
This commit is contained in:
8
.old/src/common/overloaded.hh
Normal file
8
.old/src/common/overloaded.hh
Normal 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
|
||||
Reference in New Issue
Block a user