aboutsummaryrefslogtreecommitdiff
path: root/lib/function_traits.cpp
AgeCommit message (Collapse)Author
2022-01-18Add [[maybe_unused]] to things the lib doesn't useAlexey Rusakov
2021-12-02Cleanup on Sonar issuesAlexey Rusakov
2021-12-02Improve function_traits<>; split out from util.*Alexey Rusakov
Quotient::function_traits<> did not support member functions in a proper way (i.e. the way std::invoke_result<> treats them, with the function's owning class represented as the first parameter). Now that I gained the skill and understanding in function_traits<> somewhat wicked machinery, I could properly support member functions. Overloads and generic lambdas are not supported but maybe we'll get to those one day.