Boost logo

Boost :

From: John Maddock (john_maddock_at_[hidden])
Date: 2002-07-27 06:11:28


> I just noticed that the first page of the regex library doc uses the
> following two things without defining them:
>
> "regex++" (shouldn't this be Boost.Regex or something?)

That's the historical (pre-boost if you will) name of the library.

> "boost::regex" (is this a typedef for boost::reg_expression<...>?)

You mean the introduction page? If so the first code on that page is:

namespace boost{

template <class charT,
          class traits = regex_traits<charT>,
          class Allocator = std::allocator<charT> >
class reg_expression;

typedef reg_expression<char> regex;
typedef reg_expression<wchar_t> wregex;

}

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


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