Merged branch feature_branch/is_palindromic into feature_branch/is_palindromic

This commit is contained in:
Alexander Zaitsev
2016-08-15 04:10:10 +03:00
2 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@
#define BOOST_ALGORITHM_IS_PALINDROME_HPP #define BOOST_ALGORITHM_IS_PALINDROME_HPP
#include <iterator> #include <iterator>
#include <functional>
#include <boost/range/begin.hpp> #include <boost/range/begin.hpp>
#include <boost/range/end.hpp> #include <boost/range/end.hpp>

View File

@ -42,7 +42,7 @@ struct functorComparator
void test_is_palindrome() void test_is_palindrome()
{ {
const std::list<int> empty; const std::list<int> empty;
const std::vector<char> singleElement{'z'}; const std::vector<char> singleElement(1, 'z');
int oddNonPalindrome[] = {3,2,2}; int oddNonPalindrome[] = {3,2,2};
const int oddPalindrome[] = {1,2,3,2,1}; const int oddPalindrome[] = {1,2,3,2,1};
const int evenPalindrome[] = {1,2,2,1}; const int evenPalindrome[] = {1,2,2,1};