utilities.hpp 292 B

12345678910111213
  1. #pragma once
  2. #include <memory>
  3. #include <string>
  4. // Class used to perform time measurement
  5. class cScopeTimer {
  6. struct sPimpl; //this is to avoid long compilation time
  7. std::unique_ptr<sPimpl> aPimpl;
  8. cScopeTimer();
  9. };
  10. int levenshtein( const std::string &s1, const std::string &s2 );