[boost] Re: an xml-binary persistence library

2003-04-20 Thread Vladimir Prus
Hi Nicola, Nicola Santi wrote: > As I wrote in previous posts I do not write in english very well, so I > could have made some misunderstandings. I try to clarify: > > > I'm afraid I don't like this approach. You have 3 ways to serialize an > > object: > > 1. Call operator << > > 2. Call put_

[boost] Re: PP: Beta-reducer for closed lambda-terms

2003-04-20 Thread faisal vali
Mr. Karvonen, I was just wondering if or when you were planning on posting the code for this PP-evaluator for your extended lambda calculus? I look forward to tinkering around with it if u do ;-) regards, -Faisal Vali ___ Unsubscribe & other ch

RE: [boost] test_exec_fail4 on HPUX using gcc

2003-04-20 Thread Rozental, Gennadiy
> never terminates. I have to kill -9 the process to make the > regression test suite continue (at that moment, the process was > using 1 Gbyte of memory) > Same goes for errors_handling_test and minimal_test. > Any ideas why ? > toon I would greatly appriciate if you could check in a debugger

[boost] Re: lexical_cast problem

2003-04-20 Thread Vladimir Prus
Kevlin Henney wrote: >> int main() >> { >> boost::lexical_cast(std::string(" 0")); >> } >> >>Note the space in string. The exception does not occur with gcc 2.95, but >>only with 3.2. I wonder if this should/can be fixed? Personally, I'd >>expect this code to work. > > This is a gcc 2

Re: [boost] Re: optional<>: size optimization

2003-04-20 Thread Joel de Guzman
David B. Held wrote: > "Fernando Cacciola" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> [...] >> I think I like this enhanced version. >> 'max_size_type_that_fit_in_padding' >> must better be one of the intergral types >> to make easy and safe to use, so I guess that >> there mi

[boost] Re: optional<>: size optimization

2003-04-20 Thread David B. Held
"Fernando Cacciola" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > [...] > I think I like this enhanced version. > 'max_size_type_that_fit_in_padding' > must better be one of the intergral types > to make easy and safe to use, so I guess that > there might ocurr that some bits > are

[boost] Re: Re: Oughtn't filesystem::path acc ept the "*" and "?" wildcards?

2003-04-20 Thread Edward Diener
Beman Dawes wrote: > At 02:17 PM 4/20/2003, Edward Diener wrote: > >Beman Dawes wrote: > >> At 08:22 AM 4/9/2003, Christian Engström wrote: > >> > >> >In my application I need to handle paths that contain wildcards, > >> such as >for example "foo/chapter?.txt" or "bar/*/index.html". > >> >

[boost] [date-time] patch to microsec_time_clock.hpp

2003-04-20 Thread Christopher Currie
Hello,   Attached is a quick patch to microsec_time_clock.hpp, which in CVS fails to compile under cygwin due to a missing header file. Please let me know if there’s something that I’m doing wrong here. I found the bug trying to build the socket library in boost-sandbox.   My test case

[boost] Re: PP: Beta-reducer for closed lambda-terms (attachment)

2003-04-20 Thread faisal vali
wow - this is really kool stuff - We implemented a by-value evaluator for this language using haskell, but to implement a beta-reducer using the cpp preprocessor is extremely kool - For those of you who want an excellent introduction to lambda calculus (and specifically the language implemented b

Re: [boost] luabind

2003-04-20 Thread Rene Rivera
[2003-04-18] David Abrahams wrote: >"Peter Dimov" <[EMAIL PROTECTED]> writes: > >> Just FYI, I recently stumbled across http://luabind.sf.net - a library that >> seems to be a boost.python "port" for the Lua language (www.lua.org). Very nice indeed. I had started very pleriminary work on Lua bind

[boost] Re: PP: Beta-reducer for closed lambda-terms

2003-04-20 Thread Vesa Karvonen
Vesa Karvonen: David Abrahams: Vesa Karvonen: The estimate that a nearly optimal interpreter might be just 2x-10x slower than the language in which the interpreter is implemented is based on the simple observation that such numbers hold for modern interpreters. Heh, I'm having trouble with that ext

[boost] Re: Re: optional<>: size optimization

2003-04-20 Thread Fernando Cacciola
"Gennadiy Rozental" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > > In fact, it might be tempting to use the other bits as well. > > For example, I'd imagine a variant implementation that uses > > 8 bits to flag the currently active type. I imagine this interface: > > > >

Re: [boost] lambda and generators

2003-04-20 Thread renej
> > Python has a cool feature called generators (stolen from other > languages) which basically turns a function into an input iterator. > When the function yields a value instead of returning, that represents > the value at one position of the iterator. When the function finally > returns, the it

Re: [boost] Re: Oughtn't filesystem::path acc ept the "*" and "?" wildcards?

2003-04-20 Thread Beman Dawes
At 02:17 PM 4/20/2003, Edward Diener wrote: >Beman Dawes wrote: >> At 08:22 AM 4/9/2003, Christian Engström wrote: >> >> >In my application I need to handle paths that contain wildcards, >> such as >for example "foo/chapter?.txt" or "bar/*/index.html". >> >> I think that your need is both valid a

Re: [boost] Re: Quantity Library

2003-04-20 Thread Terje Slettebø
>From: "Beman Dawes" <[EMAIL PROTECTED]> > At 02:28 PM 4/19/2003, Pavel Vozenilek wrote: > > > b7- ability to distinguish different types of the same dimension (e.g. > >width of image and width of screen) > > Other examples: It should be an error to try to add gallons of gasoline to > gallons o

[boost] Re: Oughtn't filesystem::path acc ept the "*" and "?"wildcards?

2003-04-20 Thread Edward Diener
Beman Dawes wrote: > At 08:22 AM 4/9/2003, Christian Engström wrote: > > >In my application I need to handle paths that contain wildcards, > such as >for example "foo/chapter?.txt" or "bar/*/index.html". > > I think that your need is both valid and commonplace, but that the > way to handle it isn

[boost] lambda and generators

2003-04-20 Thread David Abrahams
Python has a cool feature called generators (stolen from other languages) which basically turns a function into an input iterator. When the function yields a value instead of returning, that represents the value at one position of the iterator. When the function finally returns, the iterator is e

[boost] Re: Sandbox iterator adaptors update

2003-04-20 Thread Alisdair Meredith
David Abrahams wrote: > While at the ACCU and committee meeting, Jeremy, Thomas and I did a > whole bunch of work on the sandbox version of iterator adaptors and > the new categories in boost/iterator and libs/iterator. We think that > the implementations are quite stable now and are trying to ge

Re: [boost] Re: Re: optional<>: size optimization

2003-04-20 Thread Giovanni Bajo
Gennadiy Rozental <[EMAIL PROTECTED]> wrote: > In fact it might be tempting to use all of them available: Yes. optional<> might not need it, but I guess variant<> could use them. BTW, is there a redist archive for variant<>? I'd like to test it, but I found an old link to a version which is not

Re: [boost] Oughtn't filesystem::path acc ept the "*" and "?" wildcards?

2003-04-20 Thread Beman Dawes
At 08:22 AM 4/9/2003, Christian Engström wrote: >In my application I need to handle paths that contain wildcards, such as >for example "foo/chapter?.txt" or "bar/*/index.html". > >I believe that the boost::filesystem::path class would be ideal for this >purpose, since it hides all the messy platfo

Re: [boost] filesystem link error's under VC7

2003-04-20 Thread Beman Dawes
At 11:01 PM 4/6/2003, Cain O'Sullivan wrote: >I am trying to compile a program using the filesystem module. I am using >VC7 and whenever I try to compile it get errors such as ... > >TestBoostFs error LNK2005: "public: unsigned int __thiscall >std::basic_string,class >std::allocator >::size(void)

Re: [boost] Re: Quantity Library

2003-04-20 Thread Beman Dawes
At 02:28 PM 4/19/2003, Pavel Vozenilek wrote: > b7- ability to distinguish different types of the same dimension (e.g. >width of image and width of screen) Other examples: It should be an error to try to add gallons of gasoline to gallons of propane. Not to mention trying to add gallons of unlea

[boost] Re: Quantity Library

2003-04-20 Thread Kasper Peeters
> b6- operations over set of different dimensions (e.g. result of length / > time should be speed type), > [...] > c2- Dimnum library: similar to SIunits in functionality: doesn't provide > b6-9. b6 is handled by dimnum: class si::velocity v; class si::lengthl; class