Results 358 comments of Takatoshi Kondo

I think that you need to check the contents of the binary file. Here is MessagePack float family binary format: https://github.com/msgpack/msgpack/blob/master/spec.md#float-format-family

## Memory allocation msgpack-c uses malloc, realloc, free, new, and delete. You need to port them. ## Locking msgpack-c uses C++11's atomic or __gnu_cxx::__exchange_and_add See https://github.com/msgpack/msgpack-c/blob/224a830ce07fa629a757dade0abead2203e276df/include/msgpack/v1/unpack.hpp#L308 https://github.com/msgpack/msgpack-c/blob/83dbe398fdec15d9c56dee4e9447ceb98f823072/include/msgpack/gcc_atomic.hpp As far as...

It is not possible. You need to implementt your custom paking logic using virtual function mechanism by yourself.

I analyzed a little and created a minimal code that reproduce the problem. See the following code: ``` C++ #include #include template struct bool_pack; template struct all_of_imp : std::is_same {};...

I found the reason of this behavior. First, MSVC2015 doesn't support Expression SFINAE yet. See: https://msdn.microsoft.com/en-us/library/hh567368.aspx https://msdn.microsoft.com/en-us/library/hh567368.aspx#corelanguagetable Expression SFINAE http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2634.html is not supported. And according to the following post, they...

I updated documents. https://github.com/msgpack/msgpack-c/wiki#08172015 https://github.com/msgpack/msgpack-c/wiki/v1_1_cpp_adaptor#non-default-constructible-class-support-c11-only

See https://github.com/msgpack/msgpack/issues/164#issuecomment-86368081

1. I msgpack platform independent? * msgpack-c requires C standard library. * If you want to use C++ part, msgpack-c requires C++ standard library. * Other system dependent library is...

@herbrechtsmeier , thank you for the comment. I agree with you.

Unfortunately, `msgpack-c` requires heap allocation. `msgpack-c` uses `new` `delete` and `malloc` `realloc` `free`. If you want to avoid heap allocation with `msgpack-c`, write global new/delete operator to allocate from static...