I am fairly new to lambdas and I've come across a question...
What is the difference between those:
[&](const std::vector<int> &v)
[](const std::vector<int> &v, std::vector<Chrono *> &m_chronoSets;)
I need to access and modify m_chronoSets (it is reachable by capturing the whole context with [&]
In term of time (I guess the first one could be slower, taken that we send the whole context by reference?) and optimisation.
Thank you.
[&m_chronoSets](const std::vector<int> &v)?