the function is a std::function<void(string a) write;
ok.... it's void.... but why the error about it???
what means these error?
cambalinho
125
Practically a Posting Shark
Recommended Answers
Jump to PostShould be something like the following:
int foo(double a) { return a; } std::function<void(double)> call_foo = &foo;
All 4 Replies
phorce
131
Posting Whiz in Training
Featured Poster
cambalinho
125
Practically a Posting Shark
cambalinho
125
Practically a Posting Shark
richieking
44
Master Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.