Boost logo

Boost :

From: John Maddock (jm_at_[hidden])
Date: 2002-10-25 06:54:21


> Could anyone post the executable size generated by a run-of-the-mill
regexp
> search on a char* for Greta and Regex++? Thank you.

56K for VC7 and static linking to boost.regex, still too big for you?

John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/index.htm

#define BOOST_REGEX_STATIC_LINK
#include "boost/regex.hpp"

int main(int, char**) {
      boost::regex abc("abc");
      std::string s("abc");
      boost::regex_match(s, abc);
      return 1;
}


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk