2010/10/3 Emil Madsen <[email protected]>: > ah ofc! I shoulda know :) - So I were doing it wrong :) > Say I'm doing that enum a = calcPrimes(); > then a will be an enum with 1 element, that I can use as an int right?
Yes, effectively you are declaring an anonymous enum with one element. By default an int.
