Re:std::source_location Is Broken
by thrtythreeforty on Thursday November 16, 2023 @03:57PM
(#38295398)
Google's embedded library Pigweed [1] industrializes exactly this approach and has some unholy macro nonsense to make the string hashing work in pure C as well.
[1]: https://pigweed.dev/pw_log_tokenized/