1
Network / Can not make std::vector<sf::TcpSocket>
« on: September 30, 2022, 07:34:56 pm »
I figured out that TcpSocket is a non-copyable object, so I used the emplace_back method accordingly.
I know that with this method the copy constructor won't be called, why can't I use this vector?
I get an error saying that I am using the copy constructor. Despite using the emplace_back method!
I know that with this method the copy constructor won't be called, why can't I use this vector?
I get an error saying that I am using the copy constructor. Despite using the emplace_back method!