i have noticed that
#include <iostream>
#include <boost/array.hpp>
#include <boost/asio.hpp>
using boost::asio::ip::tcp;
int main(int argc, char* argv[]){
....
}
uses using boost::asio::ip::tcp
and not using namespace where tcp
is a class.
can some one tell me whats the benefit of writing it in such a way?