RE: [boost] How best to use Wiki (was Sockets)

2002-11-23 Thread Aleksey Gurtovoy
David Abrahams wrote: > "Jeff Garland" <[EMAIL PROTECTED]> writes: > > > 4) The MPL team used another Wiki to develop documentation. > > Not sure how that worked. Aleksey care to comment? > > I can tell you that it ended up being pretty one-sided. It was great > for Aleksey - he had the whole Wi

Re: [boost] How best to use Wiki (was Sockets)

2002-11-23 Thread David Abrahams
"Jeff Garland" <[EMAIL PROTECTED]> writes: > 4) The MPL team used another Wiki to develop documentation. > Not sure how that worked. Aleksey care to comment? I can tell you that it ended up being pretty one-sided. It was great for Aleksey - he had the whole Wiki on his local machine and could ed

Re: [boost] Re: Zero Unnecessary Temporary Objects: A Revolution

2002-11-23 Thread Victor A. Wagner, Jr.
At Monday 2002/11/18 14:46, you wrote: At 01:32 PM 11/18/2002, Rob Stewart wrote: >From: "Andrei Alexandrescu" <[EMAIL PROTECTED]> >> >> I recently reached the conclusion that taking a parameter by const reference >> just to make a copy of it inside the function is a "lie". The signature >> says:

RE: [boost] Re: AW: Re: AW: Sockets

2002-11-23 Thread Boris Schäling
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Hugo Duncan > Sent: Sunday, November 24, 2002 12:11 AM > To: [EMAIL PROTECTED] > Subject: [boost] Re: AW: Re: AW: Sockets > Boris, > > On Sat, 23 Nov 2002 21:35:58 +0100, Boris Schäling > <[EMAIL PROT

[boost] Re: AW: Re: AW: Sockets

2002-11-23 Thread Hugo Duncan
Boris, On Sat, 23 Nov 2002 21:35:58 +0100, Boris Schäling <[EMAIL PROTECTED]> wrote: > favoured independent socket classes. Not sure what you mean by independent classes? > java.net and java.nio packages provide different approaches to Had a quick look at these. Isn't java.nio just a layer on top

[boost] Re: Serialization Library Review

2002-11-23 Thread Dirk Gerrits
Thomas Matelich wrote: "Dirk Gerrits" wrote in message ar37hg$6hm$[EMAIL PROTECTED]">news:ar37hg$6hm$[EMAIL PROTECTED]... >Thomas Matelich wrote: > > >>Anyway, seemed like a nice package for general use. My company is >>currently in love with XML, so I probably wouldn't be using it for our >>c

[boost] Socket Implemnentation

2002-11-23 Thread Hugo Duncan
I have put together an initial implementation in the boost-sandbox. The aim of this code is really just to have something concrete to discuss and to have as a base to experiment on. The implementation more or less reflects the design presented at http://www.crystalclearsoftware.com/cgi-bin/boost_

[boost] RE: Serialization Library Review

2002-11-23 Thread Robert Ramey
Date: Fri, 22 Nov 2002 16:28:34 -0500 From: "Rozental, Gennadiy" <[EMAIL PROTECTED]> > > > The only solution which comes to my mind is additional virtual > > > functions for writing blocks of primitive types, which default to > > > just calling the operator<< (>>) n times, but can be overridden >

RE: [boost] How best to use Wiki (was Sockets)

2002-11-23 Thread Jeff Garland
> I'm interested in participating in the design and implementation of a > Sockets library. Your initial documents look like a good start. Great! You will note that I posted references to your Linux Journal articles :-) http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?BoostSocket/Re

[boost] Re: Sockets

2002-11-23 Thread Hugo Duncan
Thorsten, On Sat, 23 Nov 2002 23:57:56 +0100, Thorsten Ottosen <[EMAIL PROTECTED]> wrote: > socket_base::initialise(); > > socket.close(); > socket_base::finalise(); > > Why doesn't this happen in the constructor/destructor of some object? Basically because I am not sure of the requirement

[boost] Re: Sockets

2002-11-23 Thread Hugo Duncan
On Sat, 23 Nov 2002 14:23:37 -0600, Rob Tougher <[EMAIL PROTECTED]> wrote: >Where should I post these? Wherever you see fit :-) I would suggest the mail list for discussion, and the wiki for capturing points that you don't wan't to get lost. ___ Un

Re: [boost] Sockets

2002-11-23 Thread Thorsten Ottosen
- Original Message - From: "Hugo Duncan" <[EMAIL PROTECTED]> > discussions, I have tried to start describing a design at: > http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?BoostSocket When I look at the examples I'm curious why I see this: socket_base::initialise(); ...

Re: [boost] Sockets

2002-11-23 Thread Rob Tougher
I'm interested in participating in the design and implementation of a Sockets library. Your initial documents look like a good start. I have some comments, suggestions, and general ideas about a sockets library. Where should I post these? Should I add them to the Wiki page, or maybe post them to

AW: [boost] Re: AW: Sockets

2002-11-23 Thread Boris Schäling
> -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]Im Auftrag von Hugo Duncan > Gesendet: Samstag, 23. November 2002 20:47 > An: [EMAIL PROTECTED] > Betreff: [boost] Re: AW: Sockets > > > On Sat, 23 Nov 2002 19:13:14 +0100, Boris Schäling > <[EMAIL PROTECTED]

RE: [boost] RE: Sockets

2002-11-23 Thread Jeff Garland
> Jeff, > > Thanks. As regards times, we should definitely be using the time_duration > from boost date_time! Yes, but we'll need to do something with the core. If you just used posix_time::time_duration out of the box it is a bit of a heavy dependency for the need. > Would you have any code r

Re: [boost] Re: AW: Sockets

2002-11-23 Thread Beman Dawes
At 02:46 PM 11/23/2002, Hugo Duncan wrote: >On Sat, 23 Nov 2002 19:13:14 +0100, Boris Schäling <[EMAIL PROTECTED]> >wrote: >> I read your library requirements. >Thanks. > >> I don't agree that a socket library should wrap rather than invent. > >Agreed that the C++ library should leverage the powe

Re: [boost] RE: Serialization Library Review

2002-11-23 Thread David Abrahams
Robert Ramey <[EMAIL PROTECTED]> writes: > Thats all for now. I will have much more to say on this topic in the coming days. Please say it soon, if so. The review period ends on Monday and I'd like to have your information for when I evaluate everything Thanks, Dave --

[boost] RE: Sockets

2002-11-23 Thread Hugo Duncan
On Sat, 23 Nov 2002 11:18:24 -0700, "Jeff Garland" <[EMAIL PROTECTED]> wrote: > I see you have already captured Beman and > others prior work. I have added a references page for pointers to > other C++ socket libraries and other references as well as a few > other quick thoughts. See > > htt

[boost] Re: AW: Sockets

2002-11-23 Thread Hugo Duncan
On Sat, 23 Nov 2002 19:13:14 +0100, Boris Schäling <[EMAIL PROTECTED]> wrote: > I read your library requirements. Thanks. > I don't agree that a socket library should wrap rather than invent. Agreed that the C++ library should leverage the power of C++, but we could do this while remaining in so

[boost] Spurious g++ warnings with shared_ptr tests

2002-11-23 Thread Peter Dimov
Can we add -Wno-non-virtual-dtor to g++ tests? The ability of shared_ptr to support nonvirtual destructors is an essential feature, and the tests do exercize it. -- Peter Dimov http://www.pdimov.com ___ Unsubscribe & other changes: http://lists.boost.or

[boost] Re: implicit_cast

2002-11-23 Thread Gennaro Prota
On Fri, 22 Nov 2002 13:48:01 +0200, "Peter Dimov" <[EMAIL PROTECTED]> wrote: >From: "David Abrahams" <[EMAIL PROTECTED]> >> >> Here's what I think might be a correct implementation: >> >> template T implicit_cast(U const& x) { return x; } >> template T implicit_cast(U& x) { return x; }

RE: [boost] Sockets

2002-11-23 Thread Jeff Garland
> > Please feel free to edit the wiki pages with comments, etc. Looks like a nice start. I see you have already captured Beman and others prior work. I have added a references page for pointers to other C++ socket libraries and other references as well as a few other quick thoughts. See

AW: [boost] Sockets

2002-11-23 Thread Boris Schäling
> -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]Im Auftrag von Hugo Duncan > Gesendet: Samstag, 23. November 2002 17:22 > An: [EMAIL PROTECTED] > Betreff: [boost] Sockets > > > Sockets have come up from time to time on this list, without > concrete results

[boost] Re: Serialization Review

2002-11-23 Thread Robert Ramey
This was also submitted to bePavel Vozenilek I didn't see it on the list so I am posting it for referene -- MAJOR ISSUES: 1) Is there any exception for disk-full error? Also exception for invalid state stream should exists. 2

Re: [boost] Illegal Friend?

2002-11-23 Thread David Abrahams
[EMAIL PROTECTED] (Mattias Flodin) writes: > On Sat, Nov 23, 2002 at 10:57:17AM -0500, Eric Woodruff wrote: >> It is ridiculous that I can't give access to an inaccessible class. You have >> to have access to be able to give it? What is the justification for this? > > The reason for making things

[boost] Re: Serialization Library Review

2002-11-23 Thread Fredrik Blomqvist
Hi, I've been following the library and the discussion surrounding it since it was first announced on the list. I believe it is a very important and much needed component and I thank Robert for bringing it forward to the boost community! For the review I have gathered some issues I would like to b

Re: [boost] Illegal Friend?

2002-11-23 Thread Mattias Flodin
On Sat, Nov 23, 2002 at 10:57:17AM -0500, Eric Woodruff wrote: > It is ridiculous that I can't give access to an inaccessible class. You have > to have access to be able to give it? What is the justification for this? The reason for making things private is to say "this is an implementation detail

[boost] Sockets

2002-11-23 Thread Hugo Duncan
Sockets have come up from time to time on this list, without concrete results. I am no expert, but based on previous discussions, I have tried to start describing a design at: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?BoostSocket (I don't often write formal designs, so please

[boost] Illegal Friend?

2002-11-23 Thread Eric Woodruff
According to g++ and comeau, the following is illegal: (The commented line allows the code to compile.) class A { public: A () {} ~A () {} private: class Nested; //friend class B; }; class B { public: B () {} ~B () {} private: friend class A::N

Re: [boost] Possible boost addition: sub string and const string.

2002-11-23 Thread John Maddock
Alexei, Looks like we're all thinking alike, a while ago I put together a sequence based substring class that could act as a universal wrapper for any string like object, along with a set of algorithms to act upon it: it's based loosely on Darin Adler's original string algorithm code. classes: s

Re: [boost] regex linking error gcc 2.95 solaris 2.8, stlport

2002-11-23 Thread John Maddock
> I built the library individually with the following line : > > bjam "-sTOOLS=gcc-stlport" "-sSTLPORT_ROOT=..." > > everything seems to compile properly but when I use the following from a .so > : > > boost::regex exp("std"); > > I get the following error from dlopen: > > ld.so.1: output/Text2RvMs

[boost] Re: boost::pool feature requests

2002-11-23 Thread Alberto Barbati
Thanks Steve, for considering my issues. 4) what's the use of ordered_alloc/ordered_free? I made a few tests and they are indeed a bit slower than regular alloc/free, without any apparent advantage. Am I missing something? Keeping the free list ordered allows algorithms that traverse the free