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 142 Practically a Posting Shark
Recommended Answers
Jump to Postint main(){ std::fuction<void(const &a,void)>pp =&a::message(); pp(); return 0; }
you need to write your class well. look into it more cpp0x help on fuctional.
All 4 Replies
phorce 131 Posting Whiz in Training Featured Poster
cambalinho 142 Practically a Posting Shark
cambalinho 142 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.