Boost logo

Boost :

From: John Maddock (John_Maddock_at_[hidden])
Date: 2001-06-24 05:48:22

>Is there any chance of getting rid of 'explicit' on the
>default constructor for reg_expression?

I don't think that should be a problem - the explicit part only stops you
from implicitly converting an allocator to a regex (something you probably
didn't what - an allocator is not a regex) - regexes are still default
constructible, "as if" the explicit were not there:

boost::regex e;

is just fine.

- John Maddock

Boost list run by bdawes at, gregod at, cpdaniel at, john at