On Wednesday 2015-11-11 17:29 +1100, Xidorn Quan wrote: > On Wed, Nov 11, 2015 at 5:07 PM, L. David Baron <[email protected]> wrote: > > 2. Casts > > ======== > > > > Does anybody see a good way to eliminate the casts I needed to use > > in the main patch (described in the patch header)? > > We can probably make them templates?
How? > One more thing may need to be done before more conversion comes: we > need a typesafe way to declare bitmasks which we are using for several > properties. I filed bug 1217241 for something similiar several weeks > ago. I think mfbt/TypedEnumBits.h already does this. -David -- 𝄞 L. David Baron http://dbaron.org/ 𝄂 𝄢 Mozilla https://www.mozilla.org/ 𝄂 Before I built a wall I'd ask to know What I was walling in or walling out, And to whom I was like to give offense. - Robert Frost, Mending Wall (1914)
signature.asc
Description: Digital signature
_______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

