Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - zihasoo

Pages: [1]
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!


Pages: [1]