cppinsights icon indicating copy to clipboard operation
cppinsights copied to clipboard

Support Boost headers

Open pgroke-dt opened this issue 6 years ago • 5 comments

Hi,

having Boost headers available would be good. Boost contains many libraries that feature entirely non-trivial code. Having a tool like cppinsights available that can help answer questions like which conversions are invoked, which overloads are being selected etc. would be nice.

Of course the ideal solution would be something like Matt Godbolt's awsome Compiler Explorer has where you can select which version of which library you need. But a recent-ish Boost version would already be an improvement :)

pgroke-dt avatar Oct 22 '19 18:10 pgroke-dt

Hello @pgroke-dt,

that is an interesting enhancement. I totally see the benefit. However, I also see the increased maintenance that comes with it. I have to think about the long-time implications a bit more.

Andreas

andreasfertig avatar Oct 25 '19 09:10 andreasfertig

I think it would be nice to have it. But I completely understand if you decide it's too much work :) BTW: Maybe you could team up with Matt Godbolt to merge the cppinsights functionality into Compiler Explorer? Because this would be really awesome!

pgroke-dt avatar Oct 25 '19 09:10 pgroke-dt

Great, thank you!

I understand that for some reasons it would be great in Compiler Explorer. For the moment I like it as it is. I think with the current way users can get more context about what C++ Insights is and does. Plus issues reports get straight to me.

Andreas

andreasfertig avatar Oct 25 '19 09:10 andreasfertig

It would not necessarily have to be a feature hosted on godbolt.org. I was just thinking since Compiler Explorer is open source it could be possible to maybe use its container deployment scripts or something. IDK how reusable that stuff it, but if it is it would be great because there's a ton of libraries available on Compiler Explorer.

Anyway, it was just an idea. I of course respect if you don't like it for whatever reasons :)

pgroke-dt avatar Oct 25 '19 10:10 pgroke-dt

I bumped into this issue recently. Any update on plans for availability of Boost libraries within cppinsights?

jfeep avatar Nov 18 '21 13:11 jfeep

Hello @pgroke-dt,

after a very long time, sorry about that, I finally decided to add support for boost (https://github.com/andreasfertig/cppinsights-container/commit/0fc69e3c79d851f3f6f8dd12827d91dcd9e5d5f3).

The current version information can be found here: https://cppinsights.io/version. Right now boost 1_83_0 is used.

Andreas

andreasfertig avatar Sep 29 '23 12:09 andreasfertig

Hi @andreasfertig ,

thanks so much for implementing this! :) I'm sure it will come in handy.

Paul

pgroke-dt avatar Sep 29 '23 14:09 pgroke-dt