On Saturday, 7 June 2014 at 00:48:59 UTC, hane wrote:
On Friday, 6 June 2014 at 15:42:41 UTC, Meta wrote:
You should not do this, as it will create a new regex everywhere you use it. Unlike const or immutable, enum in this situation is more or less like a C macro.

#define r1 regex("bla")

I see. Thanks.

Do you remember where you saw this in Phobos? It was probably unintended, and should be removed.

Reply via email to