Boost logo

Boost Users :

Subject: Re: [Boost-users] [ASIO] native back into local::stream_protocol
From: Christopher Yeleighton (giecrilj_at_[hidden])
Date: 2010-05-04 06:08:12


Etienne Philip Pretorius <icewolfhunter <at> gmail.com> writes:

>
> Christopher Yeleighton wrote:
> > Etienne Philip Pretorius <icewolfhunter <at> gmail.com> writes:
> >
> >
> >> parent_.assign(boost::asio::local::stream_protocol,
> >> boost::lexical_cast<int>(argv[0]));
> >>
> >
> >
> What would you use? I have tried stream_protocol::type...

stream_protocol is a type name. You cannot pass a type name as an argument to a
function. How about (stream_protocol ())?

Chris


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net