indent style for D

Stewart Gordon smjg_1998 at yahoo.com
Mon Jan 30 18:43:57 PST 2012


On 30/01/2012 02:24, H. S. Teoh wrote:
<snip>
> And I'd love to have my integer set class
> be able to use ∪ and ∩ instead of verbose operations like x.union(y) and
> x.intersection(y).
<snip>

My utility library uses | and &.  Think of the possible values of the type you're creating 
a set of as being like the bits of a number, and then it makes sense.

Stewart.


More information about the Digitalmars-d mailing list