1 ///////////////////////////////////////////////////////////////
2 // Copyright 2015 John Maddock. Distributed under the Boost
3 // Software License, Version 1.0. (See accompanying file
4 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_
7 #ifndef BOOST_REGEX_PERFRMANCE_HPP
8 #define BOOST_REGEX_PERFRMANCE_HPP
11 #include <boost/shared_ptr.hpp>
15 virtual bool set_expression(const char*, bool isperl) = 0;
16 virtual bool match_test(const char* text) = 0;
17 virtual unsigned find_all(const char* text) = 0;
18 virtual std::string name() = 0;
19 static void register_instance(boost::shared_ptr<abstract_regex> item);
22 void report_execution_time(double t, std::string table, std::string row, std::string heading);
23 std::string boost_name();
24 std::string compiler_name();
25 std::string platform_name();