Find-and-replace for the most part, but there is no analogue of
boost::functional::factory, in stdlib, the most straighforward
replacement was C++11 lambdas.
Details
Details
- Reviewers
dkazakov rempt - Commits
- R37:0d4d8b9f4a45: Switch from boost::function to std::function
Diff Detail
Diff Detail
- Repository
- R37 Krita
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Well, yes, replacing boost with std where possible seems like a worthwhile goal. And in this case, lambda's aren't obfuscating the code much, either construct is not going to be understood by newcomers to Qt/C++. But Dmitry needs to have the last word here, since he wrote the original boost-using code.