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
..
2021-06-30 07:14:13 +02:00
2021-07-15 21:58:53 +00:00
2021-06-30 07:14:13 +02:00
2021-06-30 07:14:13 +02:00
2021-06-30 07:14:13 +02:00
2021-07-13 22:54:26 +00:00
2021-06-30 07:14:13 +02:00
2021-06-30 07:14:13 +02:00
2021-06-30 07:14:13 +02:00
2021-06-30 07:14:13 +02:00
2021-06-30 07:14:13 +02:00