C++ Logo


Advanced search

Re: Proposal for module metadata format to be used by the std library and others

From: Ben Boeckel <ben.boeckel_at_[hidden]>
Date: Wed, 13 Dec 2023 11:30:40 -0500
On Wed, Dec 13, 2023 at 10:40:49 -0500, Daniel Ruoso wrote:
> On Wed, Dec 13, 2023, 09:14 Ben Boeckel via SG15 <sg15_at_[hidden]>
> wrote:
> > I think filename-based lookup is ideal here. So `libname.modules.vN.json`
> > or
> > whatever.
> >
> An alternative worth considering would be to have the main document be an
> array, where objects of different versions could co-exist in the same file,
> and the tool would use the one that best fits it.

That may also work. Do we want a top-level versioning for the whole
thing still? Having an object be top-level is, IMO, better anyways as we
can extend it while an array ends up with an oddball parent-influencing


Received on 2023-12-13 16:30:43