TGViewer
C++ - Reddit C++ - Reddit @r_cpp · 229 subscribers
Post #24235 16
Calling Boost.Decimal from C

I am not a C++ programmer, but I am interested in using the forthcoming Boost.Decimal library from C. I found a general recipe for wrapping a C++ header-only library in a C-compatible shim, but I don't know whether there are any special considerations for Boost.Decimal. In particular, would it be compatible with built-in C support, and would C11 (which is my target version at present) be sufficient?

https://redd.it/1owi07z
@r_cpp
Reddit From the cpp community on Reddit Explore this post and more from the cpp community
More from @r_cpp
  1. Oct 12, 2026[Release] slick-logger v2.2.0 — Lock-free asynchronous C++20 logging with multi-process sh…
  2. Oct 12, 2026Cheap alternative to reboot parameters (nohz, rcu, isolcpus) for stable benchmarks When no…
  3. Oct 12, 2026This C++ drama is crazy - Adobe votes no https://www.youtube.com/watch?v=DEqx_NMMH9Q https…
  4. Oct 12, 2026FastNoise2: noise generation using SIMD and C++17 https://github.com/Auburn/FastNoise2 htt…
  5. Oct 12, 2026New C++ Conference Videos Released This Month - October 2026 (Updated To Include Videos Re…
  6. Oct 12, 2026cxvm: pin a GCC or Clang version per project on Linux (pyenv/nvm, but for C++ compilers) I…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →