you can use several types of entry points:I don't see a "member function with an argument" in the doc. ;)
non-member functions with no argument
non-member functions with one argument of any type
functors with no argument (this one is particularly useful for compatibility with boost/std::bind)
functors with one argument of any type
member functions from any class with no argument
I followed your adviceNo, you did not. There's no parenthesis in Laurent's code.
Also, if you could maybe explain, what if I wanted my time() function to take in arguments , e.g: time(int x)?You would use std::bind. Or maybe the constructor of std::thread can handle that directly. Just pass x as a third argument.