I have this line of code:
socket_LWIP = std::make_shared <framework::tcpip::socket::SocketLwip>();
where SocketLwip
is a structure that has this constructor:
SocketLwip();
we defined under the : public
section.
I understand that the discussed line of code creates a pointer to this structure, but it is initialized with a ()
which I don't quite understand. What does ()
do?