Files
rdkit/Code/RDGeneral
Chris Von Bargen 732a63356a Change extern types to static consts (#8765)
* When building RDKit as a static library, Ricardo found that the externs aren't
being resolved correctly causing a number of bad std::any casts. This is his
patch (which we apply in the context of the sketcher build) which moves the
definitions up from the types.cpp file, and make them static.

* Use inline keyword to avoid duplication overhead; this still allows the
use of the static keyword to resolve the issue with static libs
https://en.cppreference.com/w/cpp/language/inline.html

* static inline doesn't work in my static builds; inline only does though

* inline constexpr std::string_view

* casting

* inline-constexpr

* add string_view to python converter

* propagate string_view after static types

---------

Co-authored-by: Ric <ricrogz@gmail.com>
Co-authored-by: Greg Landrum <greg.landrum@gmail.com>
2025-11-07 05:15:22 +01:00
..
2022-04-12 13:53:07 +02:00
2019-10-10 20:18:43 +09:00
2021-03-22 13:14:10 -04:00
2025-07-21 05:57:50 +02:00
2019-04-16 12:05:47 -04:00
2025-10-08 16:08:01 +02:00
2021-02-15 14:29:04 +01:00
2022-09-14 06:36:42 +02:00
2025-10-08 16:08:01 +02:00
2025-10-14 19:15:37 +02:00
2022-07-11 11:20:03 +02:00
2020-08-25 07:51:18 +02:00