Allan Rae <[EMAIL PROTECTED]> writes:

|       pair<bool, string> askForText(string const &, string const &);
|       bool askForText(string &, string const &, string const &);
|       string askForText(bool, string const &, string const &);
| 
| Any of these gets us a bool but also mean we need at least one named
| variable to use at least one of the bool or string.  I prefer the
| pair<>

I also prefer the pair version.
(I might prefer a exception solution but since we are not using
exceptions...)

        Lgb

Reply via email to