// Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors // Distributed under MIT license, or public domain if desired and // recognized in your jurisdiction. // See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE #ifndef JSON_ALLOCATOR_H_INCLUDED #define JSON_ALLOCATOR_H_INCLUDED #include <cstring> #include <memory> #pragma pack(push, 8) namespace Json { template <typename T> class SecureAllocator { … }; template <typename T, typename U> bool operator==(const SecureAllocator<T>&, const SecureAllocator<U>&) { … } template <typename T, typename U> bool operator!=(const SecureAllocator<T>&, const SecureAllocator<U>&) { … } } // namespace Json #pragma pack(pop) #endif // JSON_ALLOCATOR_H_INCLUDED