Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing builds on Apple, with xCode 12.3 and set(CMAKE_CXX_STANDARD 17). #43

Merged
merged 1 commit into from Mar 3, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 9 additions & 0 deletions refl.hpp
Expand Up @@ -34,6 +34,13 @@
#include <sstream>
#include <iomanip> // std::quoted

#if defined(__APPLE__)

#include <memory>
#include <complex>

#else

namespace std
{
template <typename T, typename Deleter>
Expand All @@ -49,6 +56,8 @@ namespace std
class complex;
} // namespace std

#endif

#ifdef _MSC_VER
// Disable VS warning for "Not enough arguments for macro"
// (emitted when a REFL_ macro is not provided any attributes)
Expand Down