
14 Nov
2012
14 Nov
'12
2:18 a.m.
On Nov 13, 2012, at 2:38 PM, "Boris Schaeling" <boris@highscore.de> wrote:
On Wed, 07 Nov 2012 23:29:09 +0100, Vicente J. Botet Escriba <vicente.botet@wanadoo.fr> wrote:
// public data members PROCESS_INFORMATION proc_info; pid_t pid; };
Are these really public members?
The constructors allow you to instantiate child if you got process information or a pid for example from a third-party library. process_handle() is used by wait_for_exit() and terminate(). And proc_info and pid are public for convenience. If there is a preference to make the member variables private and define accessors - no objection from me.
Public and const is not a problem. ___ Rob