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 main(int,char * [])13int main( int , char* [] ) 14 { 15 // Should fail to compile because the search objects are not default-constructible 16 boost::algorithm::boyer_moore<std::vector<char>::iterator> bm; 17 18 return 0; 19 } 20