Explore >> Select a destination


You are here

akrzemi1.wordpress.com
| | sdowney.org
3.3 parsecs away

Travel
| | 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...
| | ventspace.wordpress.com
3.2 parsecs away

Travel
| | 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...
| | mpark.github.io
4.2 parsecs away

Travel
| | Can we work around the limitations of non-type template parameters?
| | cppstories.com
26.5 parsecs away

Travel
| Recently, I've found somethinginterestingin Visual Studio that improved my Logger! I had a function called AddMsg /** appends message to the log file */ void AddMsg(LOG_MODE m, int level, char* strModule, char *strMsg, ...); But, when you wanted to add a comment you needed to use quite complicated and long syntnax, like: