Angus Leeming <[EMAIL PROTECTED]> writes:

| On Tuesday 05 November 2002 10:53 am, Lars Gullik Bjønnes wrote:
| > Angus Leeming <[EMAIL PROTECTED]> writes:
| > | To tell me that my thought process is invalid is just plain rude.
| >
| > At least I stay away from the "f" words.
| 
| I promise not to swear and apologise for having done so.

I am not impressed by the efforts of cut and paste. ( ;-) )

| How do you propose to fix the broken code? There are other places where this 
| sort of idea is hard-coded, eg InsetCommandParams (see below). It would be 
| very useful to have a (suitably named) pair of functions that work as I 
| envisaged getVectorFromString, getStringFromVector doing.

Yes I think we need this behaviour from some support function.
But I really think that the behaviour we see from the "new"
getVectorFromString is also needed.

f.ex. a construct that would make us more robust is:


        vector<string> a = getVectorFromString(l, " \n\t\r"); 

Where l is f.ex. a line read from a file, and I just want to split on
all "whitespace". (or could be a whole file for that matter...)

-- 
        Lgb


Reply via email to