On Wed, Apr 6, 2016 at 10:03 PM, Drew Crawford <d...@sealedabstract.com> wrote:
>
> On Apr 6, 2016, at 11:51 PM, Dmitri Gribenko <griboz...@gmail.com> wrote:
>
> This operation converts a C string to a Swift string, so (2) is a
> non-starter.
>
>
> Then it is inappropriately named.  The name of the constructor is
> `validatingUTF8`, not `cString`.

Maybe!  If you can think of a better name, please start a thread on
swift-evolution, but please keep the implicit conversion issue
separate.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <griboz...@gmail.com>*/
_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev

Reply via email to