[Issue 5632] replace() not evaluatable at compile-time anymore
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Feb 21 09:49:32 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5632
bearophile_hugs at eml.cc changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bearophile_hugs at eml.cc
--- Comment #1 from bearophile_hugs at eml.cc 2011-02-21 09:46:52 PST ---
String functions are better if they are evaluable at compile-time, but
currently there is no requirements for the standard library to be CTFE. So I
think this is an enhancement request and not a bug.
A simple way to solve this problem is to use __ctfe, to add to replace()
another algorithm fit for run-time.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list