Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: mark fmt::streamed() as constexpr (#3650)
Because it's just performing a very basic type conversion that can be done at constexpr time. My use case simultaneously creates a `fmt::basic_format_string<some_type_conversion<Args...>>` instance and performs `some_type_conversion<Args>(args)...`. `some_type_conversion` optionally applies `fmt::streamed(arg)` to a subset of types. This needs to be `constexpr` because `basic_format_string`'s constructor is `consteval`.
- Loading branch information