Boost logo

Boost :

From: pdimov_at_[hidden]
Date: 2021-02-25 03:01:09

Vinícius dos Santos Oliveira wrote:
> Em ter., 23 de fev. de 2021 às 15:56, Peter Dimov via Boost
> <boost_at_[hidden]> escreveu:
> > Other JSON (and serialization) libraries already offer a similar
> > mechanism, e.g.
> > But
> > since each library has its own private way to annotate types, a
> > programmer needs to repeat the type annotations for every library he
> > wants his type to be known to. This is unnecessary and undesirable, and a
> > standard mechanism to describe types avoids it.
> I agree with the diagnosis, but I'm not so keen on the solution. I insist you
> broaden your view and take a look at other libraries that need manual
> annotation. If your solution only covers the JSON case, it could very well be
> just an abstraction inside the JSON library and isn't a vocabulary at all.

Well, there's nothing JSON-specific in the library. It provides basic reflection metadata: base classes, data members, member functions.

I use JSON, hashing, and serialization as examples of libraries already in Boost that can take advantage of this information.

> The documentation lacks a section comparing your solution with what's
> available on the market today. I'll give you a starter pack on what's to look for,
> but you shouldn't limit yourself to these links:
> *
> *
> *
> *
> ment_object_system/

Thanks, I'll look at these.

Boost list run by bdawes at, gregod at, cpdaniel at, john at