MSVC has an open bug that prevents a.o. importing both fmt and std modules in some use cases (i.e. depends which functionality one uses from the std) due to the mixing of std includes inside fmt itself and using import std
.
For example:
error C2572: 'std::enable_if': redefinition of default argument: parameter 1
It is possible to work around this by replacing std includes inside fmt with import std
instead, and including the C headers for the few types and functions defined outside the std
namespace (because these are not exported from the std
module):
#include <limits.h> #include <stdint.h> #include <stdio.h> #include <time.h>
Maybe something worth considering with an optional feature macro?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4