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