#ifndef __CLEARSTLCONTAINER_H__ #define __CLEARSTLCONTAINER_H__ #include "MarshalPreprocessorMacros.h" #include #include #include #include #include #include #include #include #ifdef MARSHALSUPPORT_CPP11SUPPORTED #include #include #include #include #endif namespace MarshalSupport { namespace Internal { template inline void ClearSTLContainer(std::vector& element); #ifdef MARSHALSUPPORT_CPP11SUPPORTED template inline void ClearSTLContainer(std::array& element); #endif template inline void ClearSTLContainer(std::list& element); #ifdef MARSHALSUPPORT_CPP11SUPPORTED template inline void ClearSTLContainer(std::forward_list& element); #endif template inline void ClearSTLContainer(std::deque& element); template inline void ClearSTLContainer(std::set& element); template inline void ClearSTLContainer(std::multiset& element); #ifdef MARSHALSUPPORT_CPP11SUPPORTED template inline void ClearSTLContainer(std::unordered_set& element); template inline void ClearSTLContainer(std::unordered_multiset& element); #endif template inline void ClearSTLContainer(std::map& element); template inline void ClearSTLContainer(std::multimap& element); #ifdef MARSHALSUPPORT_CPP11SUPPORTED template inline void ClearSTLContainer(std::unordered_map& element); template inline void ClearSTLContainer(std::unordered_multimap& element); #endif template inline void ClearSTLContainer(std::stack& element); template inline void ClearSTLContainer(std::queue& element); template inline void ClearSTLContainer(std::priority_queue& element); template inline void ClearSTLContainer(std::basic_string& element); template inline void ClearSTLContainer(ElementType& element); } // Close namespace Internal } // Close namespace MarshalSupport #include "ClearSTLContainer.inl" #endif