Loading...
Searching...
No Matches
BetterEnums.h
Go to the documentation of this file.
//
// Copyright (C) 2024 Novartis Biomedical Research and other RDKit contributors
//
// @@ All Rights Reserved @@
// This file is part of the RDKit.
// The contents are covered by the terms of the BSD license
// which is included in the file license.txt, found at the root
// of the RDKit source tree.
//
#pragma once
#ifdef USE_BETTER_ENUMS
#include "enum.h"
#define BETTER_ENUM_CLASS BETTER_ENUM
#else
#define BETTER_ENUM(Enum, Underlying, ...) enum Enum : Underlying { __VA_ARGS__ }
#define BETTER_ENUM_CLASS(Enum, Underlying, ...) enum class Enum : Underlying { __VA_ARGS__ }
#endif
enum.h