Mixins: to!string cannot be interpreted at compile time

Caligo iteronvexor at gmail.com
Fri Mar 11 09:48:50 PST 2011


On Tue, Mar 1, 2011 at 1:15 PM, Peter Lundgren <lundgrpb at rose-hulman.edu>wrote:

> That worked, thanks. This is interesting because the example used in "The D
> Programming Language" on page 83 gets away with it just fine. I had no
> problem
> running this:
>
> result ~= to!string(bitsSet(b)) ~ ", ";
>


How did you get that example on page 83 to compile?  I'm getting "undefined
identifier bitsSet", and it's not in std.intrinsic or std.bitmanip.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20110311/c70e9bb7/attachment.html>


More information about the Digitalmars-d-learn mailing list