exercism-solutions/cpp/anagram/anagram.h

27 lines
399 B
C++

#pragma once
#define EXERCISM_RUN_ALL_TESTS
#include <list>
#include <locale>
#include <string>
namespace anagram {
typedef std::list<std::string> StringContainer;
class anagram
{
std::string key;
public:
anagram(const std::string &_key);
StringContainer matches(const StringContainer &input,
const std::locale &locale = std::locale()) const;
};
}