getml / reflect-cpp

A C++20 library for fast serialization, deserialization and validation using reflection. Supports JSON, BSON, CBOR, flexbuffers, msgpack, TOML, XML, YAML / msgpack.org[C++20]
https://getml.github.io/reflect-cpp/
MIT License
1.02k stars 87 forks source link

RFE: Support for inclusion on Compiler Explorer #173

Open bryceschober opened 2 months ago

bryceschober commented 2 months ago

Given the popularity of Compiler Explorer, it sure would be nice if this were available there.

liuzicheng1987 commented 2 months ago

@bryceschober , cool idea.

How exactly do you envision this? What exactly would we have to do for this?

bryceschober commented 2 months ago

I'm not sure of the precise details, but the top-level docs for the process are at https://github.com/compiler-explorer/compiler-explorer/blob/main/docs/AddingALibrary.md, and for the live site, it seems to include PRs against the https://github.com/compiler-explorer/infra/blob/main/bin/yaml/libraries.yaml file.

bryceschober commented 2 months ago

Actually, my motivation for wanting this is to hack around with the intersection of reflect-cpp and other strong-type or libraries, like mp-units.

liuzicheng1987 commented 2 months ago

Sounds great. I will take a look.