mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-03-02 20:30:14 +01:00

* add front and back i'll get the last message in some situations,but have to do like this : ``` multimsg msgs; auto msg = msgs[msgs.size() - 1]; func(msg.size()); auto *msg = msgs.end() - 1; ``` but, std::queue have some method 'front' and 'back'. so maybe i can simply do this ? : ``` multimsg msgs; auto msg = msgs.back(); ``` * add test for front and back