> On Nov 12, 2016, at 22:47 , David Sweeris wrote:
>
>
>> On Nov 13, 2016, at 00:38, Rick Mann via swift-users
>> wrote:
>>
>> So, it seems there's still no way to do something like instantiate a class
>> given only its name (as a String)?
>>
>>
> On Nov 13, 2016, at 00:38, Rick Mann via swift-users
> wrote:
>
> So, it seems there's still no way to do something like instantiate a class
> given only its name (as a String)?
>
> In my situation, I have a number of subclasses (or protocol implementations),
>
I'm currently updating some Swift 2.2 code to Swift 3.0. I had some
Overloaded Operators that needed converting. I've managed to get my code to
compile and run. Although, looking to the community for any constructive
criticism on my approach.
Regards
import UIKit
import Foundation
func
This was just fixed on trunk:
https://bugs.swift.org/browse/SR-3152?jql=text%20~%20%22C%2B%2B%22%20ORDER%20BY%20created%20DESC
In the meantime, you can either use a recent snapshot from swift.org, or you
can pass `-Xlinker -lc++` on the command line to work around the problem.
- Daniel
>
I’m having issues using C++ code with the Swift PM. Simple examples work fine
as long as I don’t use anything in the C++ standard library, otherwise the
programs don’t compile.
My guess is that the Swift PM internally uses clang (as opposed to clang++) to
compile C++ code, and while clang can