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
http://ourworld.compuserve.com/homepages/john_maddock/


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