Commit 1e19ae83 authored by Victor Zverovich's avatar Victor Zverovich

Workaround a bug in MSVC

parent 3810d7e4
...@@ -861,8 +861,12 @@ using wcontext = buffer_context_t<wchar_t>; ...@@ -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;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment