Paul,
I think the trick with Compiler explorer is to include the URL to the header file:
#include "https://github.com/matus-chochlik/mirror/tree/develop/include/mirror/all.hpp"

This might be the trick you need to get it to work. I found this example in a github issue for Quickbench: https://godbolt.org/z/WEbKWojz5

But the example include I gave above wouldn't compile. Not sure why.

Regards,
Jonathan

Sent with ProtonMail Secure Email.

------- Original Message -------
On Saturday, February 26th, 2022 at 16:01, Paul Keir via SG7 <sg7@lists.isocpp.org> wrote:
Hi,

I tried compiling mirror/hello_world.cpp via the two links to compiler-explorer, but both fail with: fatal error: 'mirror/primitives.hpp' file not found. I see the parameters "-freflection-ext -std=c++2b" are in place there. Does anyone know if anything else can get it to work?

Thanks,
Paul

On Wed, 23 Feb 2022 at 17:48, Matus Chochlik via SG7 <sg7@lists.isocpp.org> wrote:
Hi SG7,

As we've discussed I'm sending the links to:
- the meeting C++ talk (the audio is messy for the first minute and half, if gets better afterwards, you can skip to 1:30 nothing of value will be lost)
https://www.youtube.com/watch?v=BP0gsVy502w


- The reflection "library" is implemented here:
https://github.com/matus-chochlik/mirror/tree/develop/include/mirror


- Compiler-explorer sandbox (the implementation is done by me (far from a compiler-guru/sensei) so it is horribly un-optimized):
https://compiler-explorer.com/z/9931EW6xb
https://compiler-explorer.com/z/W9csaWPfq

- The clang fork (the goal of which was to implement the TS) is here:
https://github.com/matus-chochlik/llvm-project

HTH,
Feedback on any of these things is very welcome.

--Matus

P.S. I've attached the slides for another talk that goes through the use-cases (I'd maybe like to torture some other conference audiences with that, so please do not share the attached PDF outside of WG21. Thank you! :) )
--
SG7 mailing list
SG7@lists.isocpp.org
https://lists.isocpp.org/mailman/listinfo.cgi/sg7