Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Sincronizacion
#include <iostream> #include <boost/thread/synchronized_value.hpp> int main() { boost::synchronized_value<int> val1 = 4; boost::synchronized_value<int> val2 = 2; auto tuple = boost::synchronize(val1, val2); std::cout << *std::get<0>(tuple) << *std::get<1>(tuple) << std::endl; }
run
|
edit
|
history
|
help
0
problem_solution_1
RecursiveDivide
No UD
Type deduction in VC++
#22.2
hangman
PRIx64 on MSVC
#10.1
Zero length array as a class member
jkljklj