<?xml version="1.0" encoding="UTF-8"?><resultsversion="2"><cppcheckversion="2.10"/><errors><errorid="memsetClass"severity="error"msg="Using 'memcpy' on std::string."verbose="Using 'memcpy' on std::string is unsafe, because constructor, destructor and copy operator calls are omitted. These are necessary for this non-POD type to ensure that a valid object is created."cwe="762"file0="Dummy/Dummy.cpp"><locationfile="Dummy\Dummy.hpp"line="22"column="8"/><symbol>memcpy</symbol><symbol>std::string</symbol></error></errors></results>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
template specialization is not considered
leads to
Thanks for reporting, ticket is here: https://trac.cppcheck.net/ticket/11686