 
      
    | You are here | verdagon.dev | ||
| | | | | articles.bchlr.de | |
| | | | | ||
| | | | | ventspace.wordpress.com | |
| | | | | Something that comes up occasionally for me is that I'd like to write a template function that accepts a lambda, and then peels back the layers of the lambda to get type information about it. For example, I'd like to have a templated type parameter for the return value of that lambda to be able... | |
| | | | | sdowney.org | |
| | | | | A Possible Technique constexpr bool g(int lhs, int rhs) { auto& op = partial_eq; return op.ne(lhs, rhs); } Compiler Explorer with Supporting Code A trait is defined as a template var... | |
| | | | | voodoo-slide.blogspot.com | |
| | | On C++ Having programmed in C++ professionally for well over 10 years I have learned all of it. I have all the books, I know all the tricks... | ||