
21 Jan
2010
21 Jan
'10
5:34 p.m.
Igor R
works ok! now I am even more confused! Is it a bug?
It's not a bug, it's just a context-dependant syntax of c++. boost::thread f(F()) -- declares a function f that returns boost::thread and accepts a pointer to a function with no arguments that returns F. Something like this :)
:)) nice:) thank You for the explanation best regards! Michal