Closed zxkmm closed 2 months ago
Well. I think it would be better to have it in only one header, it will be easier to include without modifying the Makefile That aside I'm all on for the update.
But in standard, the non template methods should be in cpp. but if you don’t mind the standard I think I can move them together back in header.
@gullradriel i edited code per your requests
Thanks! I will choose your way until I find a better way.
Continue work of #2111 previously: asyncmsg can only handle string obj. for example
but not
now:
and
are both OK
i think all template should keep in header, but to satisfying this change, i have to moved all implementation into source file (to make it readable).
but since both header and source files are fake, so you need to include both of them, when using this class, which is not elegant but i don't have any other better way.