[capnproto] Best practice for dynamic_cast equivalent method for extended interfaces

2022-10-07 Thread Christophe Alexandre
ermining the Abstract object concrete type and casting it to ConcreteA or ConcreteB. Something equivalent to C++ dynamic_cast. Thanks ! Christophe Alexandre -- You received this message because you are subscribed to the Google Groups "Cap'n Proto" group. To unsubscribe from this g

Re: [capnproto] Best practice for dynamic_cast equivalent method for extended interfaces

2022-10-08 Thread Christophe Alexandre
ce > pointers, but also associated metadata identifying what type it is. > > -Kenton > > On Fri, Oct 7, 2022 at 5:05 AM Christophe Alexandre < > christophe...@zellij.io> wrote: > >> Hi, >> Sorry for the newbie question. >> >> I've read the fol

Re: [capnproto] Best practice for dynamic_cast equivalent method for extended interfaces

2022-10-10 Thread Christophe Alexandre
Is it because of the Bool type ? Thanks ! Christophe Le samedi 8 octobre 2022 à 15:26:42 UTC+2, Christophe Alexandre a écrit : > Thanks a lot for your very clear answer. > > Christophe > > Le vendredi 7 octobre 2022 à 22:42:04 UTC+2, ken...@cloudflare.com a > écrit : > >&

Re: [capnproto] Wikipedia "Comparison of data-serialization formats" entry

2022-10-16 Thread Christophe Alexandre
I took the initiative to restore/add the Cap'n Proto line. Please tell me if everything is correct and if there are references to add. Thanks Christophe Le vendredi 30 septembre 2022 à 01:49:22 UTC+2, ken...@cloudflare.com a écrit : > It used to be there, but someone removed it, with the commen

Re: [capnproto] Best practice for dynamic_cast equivalent method for extended interfaces

2022-10-16 Thread Christophe Alexandre
hanks ! Christophe Le vendredi 14 octobre 2022 à 22:48:28 UTC+2, ken...@cloudflare.com a écrit : > Hi Christophe, > > The problem is here: > > On Mon, Oct 10, 2022 at 5:41 AM Christophe Alexandre < > christophe...@zellij.io> wrote: > >> auto objectInfo = prom

Re: [capnproto] Wikipedia "Comparison of data-serialization formats" entry

2022-10-17 Thread Christophe Alexandre
g other > things) supporting duplicate references and cycles would make the copy > algorithm much more complicated. > > -Kenton > > On Sun, Oct 16, 2022 at 5:45 AM Christophe Alexandre > mailto:christophe.alexan...@zellij.io>> > wrote: > I took the initia

Re: [capnproto] Best practice for dynamic_cast equivalent method for extended interfaces

2022-10-17 Thread Christophe Alexandre
Calculator example. Thanks Christophe Le vendredi 14 octobre 2022 à 22:48:28 UTC+2, ken...@cloudflare.com a écrit : > Hi Christophe, > > The problem is here: > > On Mon, Oct 10, 2022 at 5:41 AM Christophe Alexandre < > christophe...@zellij.io> wrote: > >&

Re: [capnproto] Wikipedia "Comparison of data-serialization formats" entry

2022-10-17 Thread Christophe Alexandre
I took the initiative to restore the Cap'n Proto line. Please tell me if anything is wrong or if you want me to add references. Thanks Christophe Le vendredi 30 septembre 2022 à 01:49:22 UTC+2, ken...@cloudflare.com a écrit : > It used to be there, but someone removed it, with the comment "clea

Re: [capnproto] Wikipedia "Comparison of data-serialization formats" entry

2022-10-17 Thread Christophe Alexandre
I took the initiative to add/restore the Cap'n Proto line. Please tell me if anything is wrong of if more links/references are needed. Thanks Christophe Le vendredi 30 septembre 2022 à 01:49:22 UTC+2, ken...@cloudflare.com a écrit : > It used to be there, but someone removed it, with the comme