Mixins: to!string cannot be interpreted at compile time

Caligo iteronvexor at gmail.com
Fri Mar 11 10:52:29 PST 2011


On Fri, Mar 11, 2011 at 11:48 AM, Caligo <iteronvexor at gmail.com> wrote:

>
>
> 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.
>

nvm, it's right there on that very page.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20110311/ce118f78/attachment.html>


More information about the Digitalmars-d-learn mailing list