c++ syntax mistake in docs

Feedback on the POCO Community website.
brodi816
Posts: 9
Joined: 17 Nov 2009, 23:08

c++ syntax mistake in docs

Postby brodi816 » 09 Feb 2010, 12:35

http://pocoproject.org/docs/Poco.ThreadTarget.html
class MyObject
{
static void doSomething() {}
};
ThreadTarget ra(&MyObject::doSomething)); !!!-One to many close parameter
Thread thr;
thr.start(ra);

or:

void doSomething() {}

ThreadTarget ra(doSomething)); !!!-One to many close parameter
Thread thr;
thr.start(ra);

guenter
Posts: 1183
Joined: 11 Jul 2006, 16:27
Location: Austria

Re: c++ syntax mistake in docs

Postby guenter » 09 Feb 2010, 16:55

Thanks, will be fixed in next release.


Return to “Site Feedback”

Who is online

Users browsing this forum: No registered users and 1 guest