Skip to content

FYI: operator == not working on some compilers #79

@MortenMacFly

Description

@MortenMacFly

FYI: This code:

  #if (defined(__cplusplus) && (__cplusplus > 201703L)) // C++ > C++17 (MSVC requires <AdditionalOptions>/Zc:__cplusplus</AdditionalOptions>
    bool operator==(const mpFloatRect&) const = default;
  #else
    (...)

...is not working for me on quite a few compilers, incl. MinGW-WinLibs.
Maybe you should #define this such that it can be disabled even if potentially supported by the compiler version.

Other that that: All just fine! :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions