Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- std::map<std::string, void (*)()> funcs {
- {"print", &h::print},
- {"scan", &h::scan_cmd},
- {"connect", &h::stream},
- {"stream", &h::stream}
- };
- No matching constructor for initialization of 'std::map<std::string, void (*)()>' (aka 'map<basic_string<char>, void (*)()>')
- std::map<std::string, void (*)()> funcs;
- funcs["print"] = &print;
- funcs["scan"] = &scan_cmd;
- funcs[connect"] = &stream;
- funcs["stream"] = &stream;
- Size of array has non-integer type ' const char [6]'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement