Victor Zverovich

Results 199 comments of Victor Zverovich

Thanks for the suggestion. We should add a section to the docs and in the meantime check out https://vitaut.net/posts/2023/simple-cxx20-modules/.

The docs probably belong here: https://github.com/fmtlib/fmt/blob/master/doc/get-started.md.

Could be related to https://github.com/vitaut/modules/issues/16.

Looks like a workaround has been found in the linked issue.

@hedgehogform I am glad that you managed to fix your problem but it doesn't look related to this issue and probably belongs to spdlog, not here. So I am going...

Superseded by https://github.com/facebook/folly/commit/21e8dcd464ee46b2144a1e4d4c0e452355ae15f0 but thanks anyway.

What error do you get and what encodings do you use?

It's a known bug in the standard (mostly affecting Windows): https://cplusplus.github.io/LWG/issue4156.

Tuples are not destructured automatically but you could write your own tuple wrapper and provide a formatter that extracts individual elements, something like: ```c++ auto t = std::tuple(1, 'b'); fmt::print("{0:[0]}...

{fmt} is modeled after Python's format which made this design choice. But even putting Python aside, autodestructuring would be extremely confusing with multiple arguments.