Augustus Saunders wrote:
You could pretty much write that same code now with iostreams
replacing CArchive. How is *any* serialization library going to make
your life easier than it is now? I don't want to sound accusatory,
so let me rephrase: If you could have anything your serializing heart
Some time ago I started what became a long discussion about the
presentation
of math constants, like pi.
Eventually these discussions proved inconclusive and there seemed no
acceptable solution, although there was agreement that
collection(s) of highly accurate constants were needed.
Yes we
No, and the toolset hasn't changed recently either. __BORLANDC__ is
reporting 0x0560 as the version, and bcc32 at the command line reports
version 5.6. The CD-ROM it came on says C++ Builder 6 Personal. I checked
the web site, and don't see any service packs available for download.
There is
9 Users extremely strongly prefer to write float area = pi * r * r;
10 There is evidence that some compilers can generate better code from
functions like
double pi() { return 3.1459;}
but that this implies writing pi() instead of plain long double pi.
So the ()s remain the main issue.
No, and the toolset hasn't changed recently either. __BORLANDC__ is
reporting 0x0560 as the version, and bcc32 at the command line reports
version 5.6. The CD-ROM it came on says C++ Builder 6 Personal. I checked
the web site, and don't see any service packs available for download.
I still
Why won't this work:
struct Pi_impl
{
operator float() const
{ return 3.14...; }
operator double() const
{ return 3.14.; };
operator long double() const
{ return 3.14..;}
};
namespace boost
{
Beman,
After some more testing I can reproduce the problem: it occurs with C++
Builder 6.1 when the command line compiler is passed the -v option. It does
not seem to happen with the IDE though. Weird :-(
And you're right this does seem to be a new issue, but I have no idea where
the cause may
Firstly, thanks in advance to any/all help
I'm trying to use the boost::function class on object members
(not just the class - but to a bound object)
So far, I've got something like this:
CODE ---
#include boost/function.hpp
#include
From: Fernando Cacciola [EMAIL PROTECTED]
William E. Kempf [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
* Is there a reason for operator!() when we have the safe bool?
I left it because shared_ptr has it.
I figure that there must be some contexts where
From: Beman Dawes [EMAIL PROTECTED]
Part of the problem is that there is no guarantee that the macros will be
available in cerrno.
Yes, that's true in theory, but in practice, is there a platform that
doesn't have the macros in cerrno?
Note that there are two issues here. First, whether the
From: Dave Gomboc [EMAIL PROTECTED]
Conversion from T' to T is straightforward except when the value of type
T' is nil. In this case, the developer may want to throw,
default-construct the value of T, or assert.
I don't see why would anyone want a default-constructed T to be returned
when T'
On Friday 13 December 2002 07:21 am, Greg Dehaas wrote:
So far, I've got something like this:
CODE ---
#include boost/function.hpp
#include functional
//Simple Class
class CSimple
{
public:
void SimpleMethod()
{
In private email, Pavel Vozenilek has made an interesting suggestion:
Maybe there should be separate
library providing convenience operations over filesystem.
The library can be initially void with people adding
what is itching them.
Such an library would not pretend great
In-Reply-To: [EMAIL PROTECTED]
On Wed, 11 Dec 2002 15:52:10 -0800 (PST) Augustus Saunders
([EMAIL PROTECTED]) wrote:
In a nutshell, I gave these definitions:
Persistance == Transformationless Symmetric
Serialization == Lossy (Symmetric || Asymmetric)
I think the terms on the right are
In-Reply-To: [EMAIL PROTECTED]
On Thu, 12 Dec 2002 19:35:14 -0800 (PST) Augustus Saunders
([EMAIL PROTECTED]) wrote:
Me: I'm not sure what kind of generic versioning we can provide.
What benefit do we provide over the application author
serializing/deserializing his or her own version?
Java
In-Reply-To: [EMAIL PROTECTED]
On Thu, 12 Dec 2002 19:50:31 -0500 David Abrahams
([EMAIL PROTECTED]) wrote:
This sounds exactly like an argument for uuencoding binary
instead of uuencoding text.
It's an argument for not uuencoding at all. Instead produce safe text
directly.
500 as text is
In-Reply-To: [EMAIL PROTECTED]
On Thu, 12 Dec 2002 17:58:52 -0800 (PST) Augustus Saunders
([EMAIL PROTECTED]) wrote:
I'm still not sure what UTD refers to.
User defined type. The payload, the objects which get serialised or
persisted.
What should a serialization library provide that
On Fri, 13 Dec 2002 12:20:38 -, John Maddock [EMAIL PROTECTED] wrote:
I still can't reproduce the problem: for example I tried array1.cpp with
Builder 4, 5 and 6, and all are compiling fine with the latest cvs, so it's
I am also getting assertion failures compiling array1.cpp with 561 from
On Thursday 12 December 2002 20:06, Beman Dawes wrote:
At 08:17 PM 12/11/2002, Jeremy Maitin-Shepard wrote:
I forgot to mention in my previous post the following proposed ideas:
A hash map and hash multimap in which a single value type is specified
along with a traits class that is used
[mailto:[EMAIL PROTECTED]]On Behalf Of Beman Dawes
Sent: 13 December 2002 14:28
It seems to me this is worthwhile. Rather than a separate
library, I'd
suggest a separate header, docs page, and test program within the
filesystem structure. Say, boost/filesystem/convenience.hpp, etc.
On Thu, 12 Dec 2002 17:52:58 -0800, Paul Mensonides
[EMAIL PROTECTED] wrote:
Does it only emit a warning for modulus by zero too?
Yes. I don't know about Kylix but all the other flavours of Borland
C++ just give W8082 for both / and %, in constant expressions (by
default; of course you can
From: Beman Dawes [EMAIL PROTECTED]
At 08:19 AM 12/13/2002, Peter Dimov wrote:
From: Beman Dawes [EMAIL PROTECTED]
Part of the problem is that there is no guarantee that the macros will
be
available in cerrno.
Yes, that's true in theory, but in practice, is there a platform that
- Original Message -
From: William E. Kempf [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 12, 2002 7:41 PM
Subject: Re: [boost] Re: Formal review: Optional library
[snipped]
To be honest, I'm wondering if the pointer semantics should just be
dropped. Here's the
Peter Dimov [EMAIL PROTECTED] wrote in message
008901c2a2a8$9d1af430$1d00a8c0@pdimov2">news:008901c2a2a8$9d1af430$1d00a8c0@pdimov2...
From: Fernando Cacciola [EMAIL PROTECTED]
William E. Kempf [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
* Is there a
- Original Message -
From: Dave Gomboc [EMAIL PROTECTED]
To: Boost Mailing List [EMAIL PROTECTED]
Sent: Thursday, December 12, 2002 11:19 PM
Subject: [boost] (corrected) review of optional library
Adjusted at five points; please ignore the previous one.
-- Forwarded message
At 04:51 PM 12/13/2002, Toon Knapen wrote:
On Thursday 12 December 2002 20:06, Beman Dawes wrote:
At 08:17 PM 12/11/2002, Jeremy Maitin-Shepard wrote:
I forgot to mention in my previous post the following proposed ideas:
A hash map and hash multimap in which a single value type is
At 07:54 AM 12/13/2002, John Maddock wrote:
After some more testing I can reproduce the problem: it occurs with C++
Builder 6.1 when the command line compiler is passed the -v option. It
does not seem to happen with the IDE though. Weird :-(
Thanks for the confirmation; I was starting to
Hugo Duncan wrote:
On Fri, 13 Dec 2002 20:16:18 GMT, Hugo Duncan
[EMAIL PROTECTED] wrote:
This gets rid of most of the failures
oops, cut and paste error. try this
RCS file: /cvsroot/boost/boost/boost/mpl/bool_c.hpp,v
retrieving revision 1.3
diff -r1.3 bool_c.hpp
38c38
using
On Fri, 13 Dec 2002 17:07:26 -0500, David Abrahams
[EMAIL PROTECTED] wrote:
BOOST_WORKAROUND(__SUNPRO_CC, (!) = 0x530)
Why that one? Isn't this getting a little obscure?
Does anybody else care how this turns out?
Actually I liked it at once, because I associate the exclamation mark
with the
Thanks to the clear arguments made by the reviewers, I see the picture a
lot
more clear now.
Specially the fact that optional is itself a container, or perhaps, a
union of T and nil_t.
But your previous post were you developed those concepts were very helpful
as an argument to keep the
Dave Harris wrote:
Me: I'm not sure what kind of generic versioning we can provide.
What benefit do we provide over the application author
serializing/deserializing his or her own version?
Java does quite a lot in this line. It has enough metadata
available,
both of the running program and in
I think that the points below can have multiple solutions, and that
the points are orthogonal. Different formats should be able to mix
and match desired solutions. Keep in mind that some formats might
completely exclude some of these problems. I have brief repsonses
below, and yes, it seems we
Tanton Gibbs [EMAIL PROTECTED] escribió en el mensaje
002601c2a300$a338c790$[EMAIL PROTECTED]">news:002601c2a300$a338c790$[EMAIL PROTECTED]...
Thanks to the clear arguments made by the reviewers, I see the picture a
lot
more clear now.
Specially the fact that optional is itself a container,
On Friday 13 December 2002 14:50, Beman Dawes wrote:
Yes, but I think we should try to stick closely to the LWG proposal. In
fact, it might be an advantage for standardization to have an exact
implementation. (It might be worth asking Matt Austern how he proposes to
change the interface to
34 matches
Mail list logo