Takatoshi Kondo
78b3e8adad
Added 'as' support for std::deque.
2015-08-03 17:57:46 +09:00
Takatoshi Kondo
298c97ec08
Added all template parameters support for containers.
...
e.g.) allocator.
Added tests.
Replaced variadic template parameters with individual template parameters on C++11 unordered containers.
2015-08-03 16:54:05 +09:00
Takatoshi Kondo
a746afa7cc
Added 'as' support for containers.
2015-07-30 16:18:20 +09:00
Takatoshi Kondo
45b57c292c
Added no default constructible classes support.
2015-06-18 16:15:20 +09:00
Takatoshi Kondo
7cd77292fc
Refined base class pack/unpack support.
...
Not only C++11 but also C++03 supported.
2015-05-01 22:05:23 +09:00
Takatoshi Kondo
d3e6f017be
Base classes packing/converting/creating object::with_zone support in C++11.
2015-04-06 17:14:17 +09:00
Takatoshi Kondo
e8d3c8d6c5
Re-designed user types dispatching mechanism.
...
msgpakc-c 0.5.9 or older uses ADL.
msgpack-c 1.0.x uses overloading with header files ordering.
msgpack-c 1.1.x uses functor with class template specialization.
2015-04-02 18:23:37 +09:00
Takatoshi Kondo
c4fb47c00d
Fixed #204 , #202 .
...
enum support had been incomplete.
This fix made enum support complete.
Replaced int with auto on c++11 scoped enum.
Replaced template specializations with function overloads on operator<< and operator>> for enum.
enum can convert to object with and without zone.
When you want to adapt enum, you need to write as follows:
// NOT msgpack.hpp
enum yourenum {
elem
};
MSGPACK_ADD_ENUM(yourenum);
// msgpack.hpp should be included after MSGPACK_ADD_ENUM(...)
int main() {
msgpack::object obj(yourenum::elem);
}
2015-01-31 22:19:31 +09:00
Takatoshi Kondo
9162610682
Added adaptors for the C++11 version of unordered containers.
...
(Fixed https://github.com/msgpack/msgpack-c/issues/168 )
2014-12-05 15:40:33 +09:00
Takatoshi Kondo
6e810df2a4
Added zero size tuple support.
2014-09-14 20:50:57 +09:00
Takatoshi Kondo
dd4043a616
Removed unused variables.
2014-09-09 14:29:10 +09:00
Takatoshi Kondo
6a8412d6de
Separated msgpack_test.cpp.
...
Renamed test files.
Decreased test's loop counter to avoid travis-ci no output timeout.
The number of loops is not so meaningful.
2014-09-09 14:15:21 +09:00