Context.opCall

Creates a new $(ZMQ) context.

struct Context
@safe static @trusted
opCall
()

Return Value

Type: Context

A Context object that encapsulates the new context.

Throws

ZmqException if $(ZMQ) reports an error.

Corresponds to

$(ZMQREF zmq_ctx_new())

Examples

auto ctx = Context();
assert (ctx.initialized);

Meta