Re: [boost] Serialization Submission version 6

2002-11-14 Thread Vladimir Prus
Robert Ramey wrote: I believe I have found the an acceptable resolution to the "registration" cunundrum. The whole problem was generated by by the fact that type_info is not portable and in my view never can be and wouldn't help anyway. Hence a function that did class->unique class identifer cou

Re: [boost] Serialization Submission version 6

2002-11-14 Thread Vahan Margaryan
- Original Message -From: "Robert Ramey" <[EMAIL PROTECTED]>To: <[EMAIL PROTECTED]>Sent: Thursday, November 14, 2002 5:45 PMSubject: Re: [boost] Serialization Submission version 6>>> register_cross_program_class_identifier(const char *id="T"

Re: [boost] Serialization Submission version 6

2002-11-14 Thread Robert Ramey
I believe I have found the an acceptable resolution to the "registration" cunundrum. The whole problem was generated by by the fact that type_info is not portable and in my view never can be and wouldn't help anyway. Hence a function that did class->unique class identifer could not exist. I real

Re: [boost] Serialization Submission version 6

2002-11-14 Thread Vladimir Prus
Robert Ramey wrote: How's that? I'm I going to use the class from two different problem, I'll use the same header, and the classes will be in the same namespace. I'm refering here to a discussion in The C++ Programming Language sections 8.2.5 and section 8.2.8. It would have helped if you d

Re: [boost] Serialization Submission version 6

2002-11-13 Thread Vladimir Prus
Robert Ramey wrote: Alberto Barbati wrote BTW, with the current implementation even doing so is completely useless, as there are lines like this: os.imbue(std::locale::classic()); that reset the locale of the streams to the "dumb" default. Such lines are IMO both unnecessary and con

Re: [boost] Serialization Submission version 6

2002-11-13 Thread Robert Ramey
Alberto Barbati wrote >BTW, with the current implementation even doing so is completely >useless, as there are lines like this: os.imbue(std::locale::classic()); >that reset the locale of the streams to the "dumb" default. Such lines >are IMO both unnecessary and conceptually wrong, and s

Re: [boost] Serialization Submission version 6

2002-11-13 Thread Robert Ramey
>Vladimir Prus wrote: ...snip.. >> Suppose type_info where made portable - For example, suppose that a string >containing >> namespace, class name, and base class names were used. At first blush this might >> seem to work. But the same class is used in another program in another >> namespace

Re: [boost] Serialization Submission version 6

2002-11-12 Thread Vladimir Prus
Robert Ramey wrote: After much thought on the questions you have raised I have come to conclude the following: 1) type_info is not portable 2) type_info can never be used as as a universal external type identifier 3) There is no automatic way of providing such a universal type identifier. Argu

RE: [boost] Serialization Submission version 6

2002-11-10 Thread Robert Ramey
-Original Message- From: Vladimir Prus [SMTP:[EMAIL PROTECTED]] Sent: Sunday, November 10, 2002 5:52 AM To: Boost mailing list; Robert Ramey Subject:Re: [boost] Serialization Submission version 6 Robert, > I have just loaded the latest version of the serializat

Re: [boost] Serialization Submission version 6

2002-11-10 Thread Vladimir Prus
Robert, I have just loaded the latest version of the serialization library (serialization6.zip) to the files section. changes from previous versions include: 1) A demo addressing the issue of plug-ins and global registration. I'm somewhat lost. To begin with, demo without a documentation is