| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- //******************************************************************************
- // RCF - Remote Call Framework
- //
- // Copyright (c) 2005 - 2020, Delta V Software. All rights reserved.
- // http://www.deltavsoft.com
- //
- // RCF is distributed under dual licenses - closed source or GPL.
- // Consult your particular license for conditions of use.
- //
- // If you have not purchased a commercial license, you are using RCF
- // under GPL terms.
- //
- // Version: 3.2
- // Contact: support <at> deltavsoft.com
- //
- //******************************************************************************
- #ifndef INCLUDE_SF_HASH_MAP_HPP
- #define INCLUDE_SF_HASH_MAP_HPP
- #include <RCF/Config.hpp>
- #ifdef RCF_USE_HASH_MAP
- #define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS
- #include RCF_HASH_MAP_HEADER(hash_map)
- #include <SF/SerializeStl.hpp>
- namespace SF {
- // hash_map
- template<typename Key, typename Value, typename Hash, typename Alloc>
- inline void serialize_vc6(Archive &ar, RCF_HASH_MAP_NS::hash_map<Key, Value, Hash, Alloc> &t, const unsigned int)
- {
- serializeStlContainer<InsertSemantics, NoReserveSemantics>(ar, t);
- }
- // hash_multimap
- template<typename Key, typename Value, typename Hash, typename Alloc>
- inline void serialize_vc6(Archive &ar, RCF_HASH_MAP_NS::hash_multimap<Key, Value, Hash, Alloc> &t, const unsigned int)
- {
- serializeStlContainer<InsertSemantics, NoReserveSemantics>(ar, t);
- }
- }
- #endif // RCF_USE_HASH_MAP
- #endif // ! INCLUDE_SF_HASH_MAP_HPP
|