mirror of
https://github.com/boostorg/algorithm.git
synced 2025-07-05 08:46:34 +02:00
Merged branch feature_branch/is_palindromic into feature_branch/is_palindromic
This commit is contained in:
@ -16,6 +16,7 @@
|
||||
#define BOOST_ALGORITHM_IS_PALINDROME_HPP
|
||||
|
||||
#include <iterator>
|
||||
#include <functional>
|
||||
|
||||
#include <boost/range/begin.hpp>
|
||||
#include <boost/range/end.hpp>
|
||||
|
@ -42,7 +42,7 @@ struct functorComparator
|
||||
void test_is_palindrome()
|
||||
{
|
||||
const std::list<int> empty;
|
||||
const std::vector<char> singleElement{'z'};
|
||||
const std::vector<char> singleElement(1, 'z');
|
||||
int oddNonPalindrome[] = {3,2,2};
|
||||
const int oddPalindrome[] = {1,2,3,2,1};
|
||||
const int evenPalindrome[] = {1,2,2,1};
|
||||
|
Reference in New Issue
Block a user