Search the web
Sign In
New User? Sign Up
boost · C++ Boost
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 477 - 506 of 27136   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
477
Although it seems impossible to create a non-intrusive weak pointer class that can track the liveness of an arbitrary class of object, it is possible to create...
Greg Colvin
gcolvin@...
Send Email
Aug 1, 1999
4:59 pm
478
... Fiendishly clever! Questions/observations 1. How do you create a weak_ptr? I presume its constructor would need to take a shared_ptr parameter... 2. This...
Dave Abrahams
abrahams@...
Send Email
Aug 1, 1999
5:54 pm
479
From: Dave Abrahams <abrahams@...> To: <boost@egroups.com> Sent: Sunday, August 01, 1999 11:58 AM Subject: [boost] Re: live_ptr ... Yes. ... Right,...
Greg Colvin
gcolvin@...
Send Email
Aug 1, 1999
6:24 pm
480
In message <000801bedc3e$fb008170$37781990@...>, Greg Colvin <gcolvin@...> writes ... There is an existing, tested implementation along...
Alan Griffiths
alan@...
Send Email
Aug 1, 1999
9:14 pm
481
Although it seems impossible to create a non-intrusive weak ... Good solution. ... However, I am somewhat astonished by this statement. My background is in...
Andy Glew
glew@...
Send Email
Aug 2, 1999
12:57 am
482
From: Andy Glew <glew@...> ... So was I. The tradeoff seems to be that initial access to the pointed to object is slower, but the shared_ptr is...
Greg Colvin
gcolvin@...
Send Email
Aug 2, 1999
1:08 am
483
... Not much. P6 systems only lose 30 cycles to 100 cycles on a pointer chasing miss. In future systems this cost will be much higher. I.e. I do not believe...
Andy Glew
glew@...
Send Email
Aug 2, 1999
3:28 am
484
... Not a bad idea. Let me know when you have one we can use. In the mean time, I'm left with guessing about the typical uses of smart pointers, and the...
Greg Colvin
gcolvin@...
Send Email
Aug 2, 1999
3:45 am
485
... death ... outlined ... editing it a ... library. ... My first response to Kevlin was perhaps unfairly negative. Maybe we ought to explore the alternatives...
Beman Dawes
beman@...
Send Email
Aug 3, 1999
12:06 pm
486
Beman Dawes wrote: While the template approach seems conceptually more elegant, I find the resulting user code unbearably ugly. The typedef and constant ...
Kevlin Henney
Kevlin.Henney@...
Send Email
Aug 3, 1999
7:57 pm
487
Hi, ... While this is different in C, I think the template approach is the only viable one in C++! Otherwise, how would I write generic code where the number...
Dietmar Kuehl
dietmar.kuehl@...
Send Email
Aug 3, 1999
9:03 pm
488
From: Dietmar Kuehl <dietmar.kuehl@...> ... I assume that numeric_limits<int32>::max() == INT32_MAX? If not, I agree with Deitmar....
Greg Colvin
gcolvin@...
Send Email
Aug 3, 1999
9:19 pm
489
... We should probably use int_t<> only for getting the correct type and use numeric_limits<> for getting max/min values. The last line would read ...
Jens Maurer
jmaurer@...
Send Email
Aug 3, 1999
10:27 pm
490
... I think the template approach is "better", and "more in the spirit of C++". My only concern is in template depth. ANSI C++ requires implementations nest...
Andy Glew
glew@...
Send Email
Aug 3, 1999
11:15 pm
491
... advantange. ... many ways ... standard ... That strikes me as better than having a single type with exact/least/fast/etc types embedded. Not sure exactly...
Beman Dawes
beman@...
Send Email
Aug 4, 1999
1:43 am
492
... My guess is that real compilers will handle any depth we are likely to use, but I don't have any data points to back that up. ... Yes you could, but do you...
Beman Dawes
beman@...
Send Email
Aug 4, 1999
1:43 am
493
... Yes, good point. ... Another good point! If for 8, 16, 32, [and soon 64] bit types we include also typedefs, then people who want/need shorter forms can...
Beman Dawes
beman@...
Send Email
Aug 4, 1999
1:43 am
494
Please have a look at: http://www.eleves.ens.fr:8080/home/bonnard/NewLibs/NumericalTypes/int_chooser.h ...
Valentin Bonnard
Bonnard.V@...
Send Email
Aug 4, 1999
6:09 am
495
... No, it is a different type, like uint_least<32>::type, IMO. Agreed. This was exactly the convention I used. Kevlin...
Kevlin Henney
Kevlin.Henney@...
Send Email
Aug 4, 1999
6:20 am
496
... That strikes me as better than having a single type with exact/least/fast/etc types embedded. Not sure exactly why, but my gut feeling is it would extend...
Kevlin Henney
Kevlin.Henney@...
Send Email
Aug 4, 1999
6:20 am
497
... I am sure why a single type with typedef for (least or fast) -- Valentin Bonnard...
Valentin Bonnard
Bonnard.V@...
Send Email
Aug 4, 1999
6:26 am
498
I am sure that having a working X server is better than this broken Sun X server, which sends random keypresses to Netscape. ... I am sure why a single type...
Valentin Bonnard
Bonnard.V@...
Send Email
Aug 4, 1999
6:30 am
499
Should Boost be added to the list of C++ libraries at http://www.trumphurst.com/cpplibs/cpplibs.phtml periodically posted as a FAQ to comp.lang.c++? It doesn't...
Andy Glew
glew@...
Send Email
Aug 5, 1999
3:07 pm
500
... Yes. There should be a general entry for www.boost.org I suppose. Should there also be entries for individual libraries? That might be nice. ... Would...
Beman Dawes
beman@...
Send Email
Aug 5, 1999
3:23 pm
501
... Sure. That way I'll keep up to date as to what is around. I'd have done it by now, but I wanted to make sure it was okay with y'all....
Andy Glew
glew@...
Send Email
Aug 5, 1999
3:44 pm
502
I want to provide some arguments for making use of, and encouraging the use of, the <stdint.h> as defined in C9X (or indirectly thru a boost-specific...
Thomas Plum
tplum@...
Send Email
Aug 5, 1999
6:34 pm
503
... I agree with Tom: if boost defines something to do a job similar to C's <stdint.h>, it should do it markedly better, or not at all. An example would be a...
Nathan Myers
ncm@...
Send Email
Aug 5, 1999
7:34 pm
504
... where ... I agree with you as regards the C stdint.h typedefs. In addition to your arguments, it seems to me that the int32_t, int_least32, etc. typedefs...
Beman Dawes
beman@...
Send Email
Aug 5, 1999
8:59 pm
505
Hi, ... I have no problem if this header is used to get a fairly portable implementation of the C++ version. I even think that it can be useful for people...
Dietmar Kuehl
dietmar.kuehl@...
Send Email
Aug 5, 1999
8:59 pm
506
... I have little or no opinion about whether traits or macros should be used, but say this: If standard C uses macros and Boost uses traits then Boost would...
Andy Glew
glew@...
Send Email
Aug 6, 1999
12:39 am
Messages 477 - 506 of 27136   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help