tsaarni / cpp-subprocess

popen() -like C++ library with iostream support for stdio forwarding
MIT License
91 stars 21 forks source link

Rename the std stream methods to avoid conflicts #9

Closed tsaarni closed 9 months ago

tsaarni commented 9 months ago

Rename the methods popen::stdin(), popen::stdout() and popen::stderr() methods to in(), out() and err() to avoid potential conflicts with pre-processor macros with the same names.

tsaarni commented 9 months ago

Thanks to @oskarirauta for reporting the problem https://github.com/tsaarni/cpp-subprocess/issues/6#issuecomment-1900507809