]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/algorithm/test/search_fail1.cpp
2 Copyright (c) Marshall Clow 2010-2012.
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)
7 For more information, see http://www.boost.org
11 #include <boost/algorithm/searching/boyer_moore.hpp>
13 int main( int , char* [] )
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 ());