Yes. I'm trying to copy a websocket. Is there any way to pass websocket to another function? I tried to use pick function, but there were errors too.
It is compiled without errors, if I comment this line(41).
Depends on context, but often the best way is to use One.
E.g.
One<WebSocket> MakeMySocket()
{
One<WebSocket> h;
WebSocket& s = h.Create();
// do things with s
return h;
}
Also, instead of BiVector<WebSocket> use BiArray<WebSocket>