As I said in another e-mail I didn't notice this is regarding an object
created inside the function and local to it. As usual C++ has some dark
sides to it and references may be just as evil as pointers. This is just
such a case.
I haven't looked at the questioned code so I cant offer a real sugg
While trying to figure out the reason for the crashing bug on undo, I've
traced it out in the mathed domain. Trying to fix various bits that seemed
just plain wrong I encountered quite a bit of problems and possible bugs
around it.
I seem to remember that there was a talk about someone redoing th
On Sat, Oct 21, 2000 at 04:35:15PM +0200, Dekel Tsur wrote:
>
> And yet another updated version of the patch.
Again, an updated version of the patch.
This time, the I've added a new feature to the patch:
I've replaced the old import code by a new code that uses the converter code,
so it is now po
> My point is exactly that you can not directly compare stream_cast and
> XTL. Andre P. did that, and seemed to conclude that XTL was inferior
> to stream_cast.
I did that indeed, but with an eye on the specific environment "LyX".
The places where (XTL|stream_cast) has to be used are not the per
> I don't know if it was mentioned already but a good source for C++
> information can be found at:
> http://cpptips.hyperformix.com/cpptips.html
Great link. Really worth reading... I think I am off now for a while ;-)
Andre'
--
Andre' Poenitz [EMAIL P
> If it's a large object that has long c-tor time the best method is to
> return a const refernce as in: Menu const & expand(Buffer *) const;
You are not suggesting to return a reference to a local variable, are you?
If so, this is the most wicked suggestion ever made - including those made
on a
> Well, this is a case of the blind leading the blind... the C++ gurus will
> know, but I'm pretty sure that is referenced counted. My guess is
> that all STL containers are.
There is no requirement in the Standard.
>From what I take from /usr/include/g++-3/, strings are reference counted
for
> And is the vector class reference-counted? I guess the answer is no...
I think I have seen no reqiurement that it be not reference counted,
but I have never seen a reference counted implementation either.
> Am I the only one finding that this is stupid?
No. It is so common that it even got a
On 17 Oct 2000, Jean-Marc Lasgouttes wrote:
> - crash when changing layout
> http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg13171.html
Changing the layout itself doesn't cause a crash, at least not with
1.1.6cvs. I did get LyX to crash with the following steps:
1. Open file lyxbug2.lyx
On Sat, Oct 21, 2000 at 12:52:15AM +0200, Dekel Tsur wrote:
> On Sat, Oct 21, 2000 at 12:10:01AM +0200, Dekel Tsur wrote:
> > Here is a "make Jose happy" patch:
>
> Here is an update patch (few minor fixes).
>
And yet another updated version of the patch.
patch.gz
On Fri, Oct 20, 2000 at 02:47:42PM -0400, Lior Silberman wrote:
> > Indeed, if the object is local to the function this is not a solution and
> > the only option is to return a const copy of the object.
> I know this _feels_ bad, but I think the most efficient implementation
> will be to handle t
Hi,
I use LyX 1.1.5fix2 of Tue Oct 18, 2000.
Try the following:
- Create a new document
- Insert a table, the size doesn't matter, let's say 1x1
- Set Layout->Paragraph->Left. Click OK.
- Click the Save button -> Crash
For some reason this does not happen when running in english mode. Therefore
On 19 Oct 2000, Lars Gullik Bjønnes wrote:
> What I'd like to know is how XTL solve:
>
> string line;
> cin >> line;
> int a = stream_cast(line);
>
> or
>
> int b = stream_cast("123");
>
> I do not thing xtl is suited fot that specific task, which was the
> reason why i mentioned stream_cast
-- Forwarded message --
Date: Tue, 17 Oct 2000 12:04:29 +0300
From: Razvan Sandu <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Some FAQs - maybe for Lyx Docs ?
Dear Sirs,
Thanks for the *great* Lyx tool, which gradually becomes an indispensable
tool for me!
Would you pl
14 matches
Mail list logo