c++ Programming Glossary: do_something_with
What does `std::kill_dependency` do, and why would I want to use it? http://stackoverflow.com/questions/7150395/what-does-stdkill-dependency-do-and-why-would-i-want-to-use-it indexing operation and then carries a dependency into the do_something_with function. r1 x.load memory_order_consume r2 r1 index do_something_with.. function. r1 x.load memory_order_consume r2 r1 index do_something_with a r2 There is further example that uses std kill_dependency.. the indexing. r1 x.load memory_order_consume r2 r1 index do_something_with a std kill_dependency r2 As far as I can tell this means that..
Move capture in lambda http://stackoverflow.com/questions/8640393/move-capture-in-lambda move the unique_ptr into the lambda go.run u move u do_something_with u But it is much more general in the sense that captured variables..
|