cppzmq/tests
Jaakko Moisio cbe449908e Problem: sock.get(zmq::sockopt::type) is not typesafe
Solution: Add `zmq::sockopt::socket_type` that is used to `get()` an enumerator
from `zmq::socket_type` instead of plain `int`.

It makes code like this compile:

  #include <zmq.hpp>

  #include <cassert>

  int main()
  {
      zmq::context_t ctx;
      zmq::socket_t sock(ctx, zmq::socket_type::push);
      assert(sock.get(zmq::sockopt::socket_type) == zmq::socket_type::push);
      return 0;
  }
2021-10-21 20:53:40 +03:00
..
active_poller.cpp Tests require full 11 support 2021-07-13 22:56:19 +00:00
buffer.cpp fix header 2021-06-30 07:14:13 +02:00
CMakeLists.txt Coveralls upload in actions 2021-07-15 21:58:53 +00:00
codec_multipart.cpp fix CHECK_THROWS_AS usage 2021-06-30 07:14:13 +02:00
context.cpp fix CHECK_THROWS_AS usage 2021-06-30 07:14:13 +02:00
message.cpp fix header 2021-06-30 07:14:13 +02:00
monitor.cpp Bugfix: socket_t move assignment doesn't initialize ctxptr 2020-07-18 19:17:19 +03:00
multipart.cpp Add == and != operators for multipart_t 2021-09-11 22:31:42 +02:00
poller.cpp Tests require full 11 support 2021-07-13 22:54:26 +00:00
recv_multipart.cpp fix CHECK_THROWS_AS usage 2021-06-30 07:14:13 +02:00
send_multipart.cpp fix CHECK_THROWS_AS usage 2021-06-30 07:14:13 +02:00
socket_ref.cpp fix header 2021-06-30 07:14:13 +02:00
socket.cpp Problem: sock.get(zmq::sockopt::type) is not typesafe 2021-10-21 20:53:40 +03:00
testutil.hpp fix header 2021-06-30 07:14:13 +02:00
utilities.cpp fix header 2021-06-30 07:14:13 +02:00