• Noel Grandin's avatar
    create a macro library for implementing bit-flags types · af5ebbf7
    Noel Grandin yazdı
    Signed-off-by: Stephan Bergmann <sbergman@redhat.com>,
    changed from a macro- to a template-based solution.  (Unfortunately MSVC 2012
    does not support explicit conversion operators.  Worked around that with
    explicit #ifs rather than some HAVE_EXPLICIT_CONVERSION_OPERATORS and
    SAL_EXPLICIT_CONVERSION_OPERATOR ainticipating we hopefully soon move to a
    baseline that requires unconditional support for them.)
    
    Change-Id: I4a89643b218d247e8e4a861faba458ec6dfe1396
    af5ebbf7
rect.cxx 20.6 KB