Hi, I'm trying to do some minor changes into void chat_room::deliver(const chat_message &msg) function, at the chat_server example code from boost examples.
but I just cannot split the for_each part, I tested some codes, but none worked (they compile and run, but chat_participant::deliver don't get to be executed!
here is the changed code:
Hi, I'm trying to do some minor changes into
void chat_room::deliver(const chat_message &msg)
function, at the chat_server example code from boost examples.At first I'm trying to change this line
but I just cannot split the for_each part, I tested some codes, but none worked (they compile and run, but chat_participant::deliver don't get to be executed!
here is the changed code:
Someone can help me?
Thanks!