From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, HEADER_SPAM autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,745ecf6266b2fdbf X-Google-Attributes: gid103376,public X-Google-Thread: 100850,745ecf6266b2fdbf X-Google-Attributes: gid100850,public X-Google-Thread: 1014db,745ecf6266b2fdbf X-Google-Attributes: gid1014db,public X-Google-Thread: 109fba,745ecf6266b2fdbf X-Google-Attributes: gid109fba,public X-Google-ArrivalTime: 2003-02-15 12:14:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!news.gtei.net!news-out.visi.com!hermes.visi.com!gemini.plethora.net.POSTED!not-for-mail X-Old-trace: posting.google.com 1045206780 22038 127.0.0.1 (14 Feb 2003 07:13:00 GMT) Subject: Re: [ANN] an EBNF parser and coding pattern tool (LGPL) Content-Transfer-encoding: 8bit References: From: codeworker@free.fr (Cedric LEMAIRE) Organization: http://groups.google.com/ Return-Path: Content-Type: text/plain; charset=ISO-8859-1 X-Old-complaints-to: groups-abuse@google.com Newsgroups: comp.lang.c.moderated,comp.lang.ada,comp.lang.c,comp.lang.c++ Message-ID: Originator: clcm@plethora.net (Comp Lang C'Moderated) Date: 15 Feb 2003 20:14:02 GMT NNTP-Posting-Host: b45dc8c4.news.plethora.net X-Trace: 1045340042 gemini.plethora.net 79558 clcm@205.166.146.1 X-Complaints-To: abuse@plethora.net Xref: archiver1.google.com comp.lang.c.moderated:7440 comp.lang.ada:34132 comp.lang.c:173467 comp.lang.c++:203428 Date: 2003-02-15T20:14:02+00:00 List-Id: Juli�n Albo wrote in message news:... > Cedric LEMAIRE escribi�: > > > > OK, I'll bite ... why do you think C++ templates are too restricted? > > > The C++ compiler doesn't give you introspection to implement C++ > > templates that work on the composition of a class. > > How to write with C++ templates an "Object Unmarshaller", for > > instance? I mean, something that reads the serialized content of an > > object and that builds the corresponding object in memory. Be careful! > > No intervention must be done on these objects in C++ to facilitate > > their integration into the "unmarshaller". > > But here you talk about how are the classes in C++, not the templates. I talk about how to do such a C++ class with templates if i don't have introspection. -- C�dric -- comp.lang.c.moderated - moderation address: clcm@plethora.net