
29 Apr
2010
29 Apr
'10
1:32 p.m.
Christopher Yeleighton wrote:
Etienne Philip Pretorius
writes: 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.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users What would you use? I have tried stream_protocol::type...
Etienne Pretorius