std.internal.cstring
Helper functions for working with C strings.
This module is intended to provide fast, safe and garbage free way to work with C strings.
Copyright
Denis Shelomovskij 2013-2014
fn tempCString
Functions 1
fn
auto tempCString(To = char, From)(scope From str) if (isSomeChar!To && (isInputRange!From || isSomeString!From) &&
isSomeChar!(ElementEncodingType!From))Creates temporary 0-terminated C string with copy of passed text.