anagram: naive approach, iteration 1
This commit is contained in:
parent
c874827624
commit
704eff347e
2 changed files with 29 additions and 26 deletions
|
|
@ -3,6 +3,7 @@
|
|||
#define EXERCISM_RUN_ALL_TESTS
|
||||
|
||||
#include <list>
|
||||
#include <locale>
|
||||
#include <string>
|
||||
|
||||
|
||||
|
|
@ -19,7 +20,8 @@ public:
|
|||
|
||||
anagram(const std::string &_key);
|
||||
|
||||
StringContainer matches(const StringContainer &input) const;
|
||||
StringContainer matches(const StringContainer &input,
|
||||
const std::locale &locale = std::locale()) const;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue