29 Apr
2010
29 Apr
'10
8:02 a.m.
Etienne Philip Pretorius
parent_.assign(boost::asio::local::stream_protocol, boost::lexical_cast<int>(argv[0]));
Compiler error: g++ -c -g -MMD -MP -MF build/Debug/GNU-Linux-x86/main.o.d -o build/Debug/GNU-Linux-x86/main.o main.cpp main.cpp: In function βint main(int, char**)β: main.cpp:30: error: expected primary-expression before β,β token
stream_protocol is a type name. You cannot pass a type name as an argument to a function.