Opened 5 years ago

Last modified 5 years ago

#13054 new Bugs

Boost Process - rdbuf() in basic_ipstream/basic_opstream - implementation bug

Reported by: radoslaw.chm@… Owned by: Ion Gaztañaga
Milestone: To Be Determined Component: process
Version: Boost 1.64.0 Severity: Problem
Keywords: boost process bug Cc: daniel.kruegler@…

Description

boost/process/pipe.hpp :

/Get access to the underlying stream_buf basic_pipebuf<CharT, Traits>* rdbuf() const {return _buf;};

my code:

boost::process::opstream stream;

stream.rdbuf();

compiler:

/home/myname/boost/include/boost/process/pipe.hpp:341:57: error: cannot convert ‘const boost::process::basic_pipebuf<char>’ to ‘boost::process::basic_pipebuf<char>*’ in return

basic_pipebuf<CharT, Traits>* rdbuf() const {return _buf;};

Change History (4)

comment:1 by anonymous, 5 years ago

Component: Building Boostinterprocess
Owner: set to Ion Gaztañaga

In bug tracker there is not "process" selection in component dropdown

comment:2 by anonymous, 5 years ago

Version: Boost 1.66.0Boost 1.64.0

comment:3 by Ion Gaztañaga, 5 years ago

Component: interprocessprocess

Reassigning to newly created "process" component

comment:4 by Daniel Krügler <daniel.kruegler@…>, 5 years ago

Cc: daniel.kruegler@… added
Note: See TracTickets for help on using tickets.