This is a relatively easy task.
The Sockets should definitely use a RawAllocator (foonathan) such that the memory is continuous for each type.
This is easily implemented and added.
Node::CTOR : takes the SocketFactory templated over the TConfig
The SocketFactory uses a internally a RawAllocator (templated) which is used for the allocation of the Socket.
This is a relatively easy task. The Sockets should definitely use a RawAllocator (foonathan) such that the memory is continuous for each type. This is easily implemented and added.
SocketFactory
templated over theTConfig
SocketFactory
uses a internally a RawAllocator (templated) which is used for the allocation of the Socket.