I have the following:
public protocol RawBits: CustomStringConvertible, Collection {
associatedtype RawValue
var rawValue: RawValue { get set }
}
extension RawBits where RawValue: FixedWidthInteger, RawValue:
UnsignedInteger {
[...fields and methods are defined here...]
}
ft.org
Subject: Re: [swift-users] module.modulemap documentation
On Dec 3, 2017, at 7:42 PM, Frank Swarbrick via swift-users
<swift-users@swift.org <mailto:swift-users@swift.org> > wrote:
Where are all of the options/parameters/behaviors/whatever documented? I can’t
for t
Where are all of the options/parameters/behaviors/whatever documented? I
can't for the life of me find it anywhere. GINMF.
Frank
___
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users
If you compile with the -v option you’ll see how -frontend is used, (below,
with some comments by me):
frank@DESKTOP-6Q7P3OK:~/src/swift$ swiftc -v -module-name CTest CTest.swift
../c/CTest.o
Swift version 4.0.2 (swift-4.0.2-RELEASE)
Target: x86_64-unknown-linux-gnu
Compile:
I am aware of the OptionSet protocol, that is used to represent a
"mathematical bit set". But I found it too be a bit "too much" for a simple
bitmap. So I created my own, called RawBits. This is the first protocol
I've written in Swift, so I'd be interested in any constructive criticism
anyone