Re: using enum classes for enumerated CSS property values in nsStyleConsts.h
Xidorn Quan <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.layout |
|---|---|
| Message-ID | <CAMdq69-uvn8q--ebyhp8kGEZ0CNRRTB6-e=8t8ed8SNjzgb8dg@mail.gmail.com> |
On Wed, Nov 11, 2015 at 6:21 PM, Daniel Holbert <[email protected]> wrote: > > P.S. (I can work around this by adding an "operator bool" to the > CastableTypedEnumResult type-definition in mfbt/TypedEnumBits.h. Maybe > that's something we should do.) We should just add "explicit operator bool() const;" to CastableTypedEnumResult, which we are allowed to use since VS2012 support was dropped. - Xidorn