
Robert,
Note that results should be the same with all types of archives. This is a fundamental goal of the library. So if you can make an example which > fails with binary archive but passes with another one - that would be of interest.
It is a header ordering issue.
I instrumented the insert and tfind functions in basic_serializer_map.cpp such that they spewed some debug e.g.
basic_serializer_map.cpp(53) : this: 00575BB0: Registering CDiagramButton -> true
basic_serializer_map.cpp(82) : this: 00575BB0: tfind() CDiagramButton -> true
basic_serializer_map.cpp(82) : this: 00575BF4: tfind() CDiagramButton -> false
i.e. the first case was registering with one map, the second case was failing to find the type in another map.
The failing case above had the following #include order
#include