# diff-match-patch-cpp-stl **Repository Path**: heig2019/diff-match-patch-cpp-stl ## Basic Information - **Project Name**: diff-match-patch-cpp-stl - **Description**: C++ STL variant of https://code.google.com/p/google-diff-match-patch. - **Primary Language**: C++ - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2019-05-13 - **Last Updated**: 2021-11-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README diff-match-patch-cpp-stl ======================== [![Build Status](https://travis-ci.org/leutloff/diff-match-patch-cpp-stl.png)](https://travis-ci.org/leutloff/diff-match-patch-cpp-stl) C++ STL variant of https://code.google.com/p/google-diff-match-patch. STL Port was done by Sergey Nozhenko (snhere@gmail.com) and posted on https://code.google.com/p/google-diff-match-patch/issues/detail?id=25 The STL Port is header only and works with std::wstring and std::string. Compile and run the test cases: g++ diff_match_patch_test.cpp -o diff_match_patch_test && ./diff_match_patch_test Or use CMake ... Compile and run the speedtest - requires the files speedtest1.txt and speedtest2.txt for comparison: g++ speedtest.cpp -o speedtest && ./speedtest