1/*
2 Copyright (c) Marshall Clow 2010-2012.
3
4 Distributed under the Boost Software License, Version 1.0. (See accompanying
5 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6
7 For more information, see http://www.boost.org
8*/
9
10#include <vector>
11#include <boost/algorithm/searching/boyer_moore.hpp>
12
13int main( int , char* [] )
14{
15 std::vector<char> cv;
16 std::vector<int> iv;
17
18// Should fail to compile because the underlying types are different
19// They are (almost certainly) different sizes
20 (void) boost::algorithm::boyer_moore_search (
21 cv.begin (), cv.end (), iv.begin (), iv.end ());
22
23 return 0;
24}
25