Yann MORERE <[EMAIL PROTECTED]> writes:

| Ce Tue, 12 Mar 2002 09:49:03 +0100
| [EMAIL PROTECTED] (Lars Gullik Bjønnes) a écrit :
>
| LGB> 
| LGB> I thought that compiler had the string class more or less correctly
| LGB> implemented.
| LGB> 
| LGB> Can you find the bastring.h header on your system and extract the
| LGB> push_back functions found, and report them?
>
| no push_back function found, i attached the header file

Ohhh, how I hate pre-standard libraries... (and compilers)

egcs has the same problem.

I wonder about 2.95.3, what is the case there?

The (unwanted) solution is to use:

    string::append(int, char);

                        } else {
                                if (c != '\0') {
                                        //word.push_back(c);
                                        word.append(1, c);
                                } else {
                                        lyxerr[Debug::INFO] <<

this one:

|   basic_string& append (size_type n, charT c)
|     { return replace (length (), 0, n, c); }

-- 
        Lgb

Reply via email to