Mercurial > dwindows
comparison mobile.txt @ 2962:e6072eb914ce
C++: Step 4 of the std::string transition.
Remove C style string lambda support due to limitations of std::function.
std::function due to its template definition cannot differentiate parameters.
This causes std::function parameters to be indistiguishable despite different signatures.
Use the C style function pointer instead if you want C style strings, not lambdas.
Convert KeyPress lambda to use std::string, this was missed in the last commit.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 25 Feb 2023 04:25:21 +0000 |
parents | d15517b49638 |
children | ebb94fc2b19f |
comparison
equal
deleted
inserted
replaced
2961:b9bd130f438a | 2962:e6072eb914ce |
---|