string, char[], overloaded functions.

dajones via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Nov 2 16:53:38 PST 2014


"Kagamin" <spam at here.lot> wrote in message 
news:lccftxangprboitrtvmh at forum.dlang.org...
> On Friday, 31 October 2014 at 23:59:54 UTC, dajones wrote:
>> is there a better way than doing...
>>
>> cast(string)(buf~"hoo")
>>
>> to get it to pick the correct overload?
>
> text(buf,"hoo")

Thanks!

chris 




More information about the Digitalmars-d-learn mailing list