mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-02 11:28:20 +00:00
Workaround a bug in MSVC
This commit is contained in:
parent
3810d7e4d4
commit
1e19ae8348
@ -861,8 +861,12 @@ using wcontext = buffer_context_t<wchar_t>;
|
||||
|
||||
namespace internal {
|
||||
template <typename Context, typename T>
|
||||
struct get_type {
|
||||
using value_type = decltype(make_value<Context>(std::declval<T>()));
|
||||
class get_type {
|
||||
private:
|
||||
static const T& val();
|
||||
|
||||
public:
|
||||
using value_type = decltype(make_value<Context>(val()));
|
||||
static const type value = value_type::type_tag;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user