daily pastebin goal
58%
SHARE
TWEET

Untitled

a guest Feb 20th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. std::map<std::string, void (*)()> funcs {
  2.        {"print", &h::print},
  3.        {"scan", &h::scan_cmd},
  4.        {"connect", &h::stream},
  5.        {"stream", &h::stream}
  6.  };
  7.      
  8. No matching constructor for initialization of 'std::map<std::string, void (*)()>' (aka 'map<basic_string<char>, void (*)()>')
  9.      
  10. std::map<std::string, void (*)()> funcs;
  11. funcs["print"] = &print;
  12. funcs["scan"] = &scan_cmd;
  13. funcs[connect"] = &stream;
  14. funcs["stream"] = &stream;
  15.      
  16. Size of array has non-integer type ' const char [6]'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top