Results 358 comments of Takatoshi Kondo

You can do as follows: https://wandbox.org/permlink/TUkoxgGmGiatHPau

Ok, you can't do that. I think that MSGPACK_BASE is better choice.

> Do you mean that I have to use {"A": {"a": a}, "b": b} instead? Yes. Unfortunately msgpack-c doesn't support your case.

Perhaps you can write your adaptor using non-intrusive approach. But I'm not sure. See https://github.com/msgpack/msgpack-c/wiki/v2_0_cpp_adaptor#non-intrusive-approach

> Is it possible to allow specifying a meta-value (e.g. MSGPACK_EMBED) as a key to insert other class contents? My first impression, it is not possible. BTW, directly adding base...

@lmdsp , thank you for reporting the issue. The error message indicates the following code is invalid. include/msgpack/v1/object_fwd.hpp ```cpp template struct has_as { private: template static auto check(U*) -> //...

@lmdsp , I installed Visual Studio 15.3 and got the same error. I wrote a (maybe) minimal code that reproduces the problem. See ```cpp #include namespace type {} template struct...

The report title is `[C++] invalid name lookup if /permissive- is set`. I couldn't get URL of the report. It is integrated to Visual Studio. If you vote the report...