mirror of
https://codeberg.org/DawnMagnet/reflect-cpp
synced 2026-11-29 14:26:19 +08:00
--------- Co-authored-by: Dr. Patrick Urbanke <patrick@getml.com>
20 lines
467 B
C++
20 lines
467 B
C++
#ifndef RFL_CONFIG_HPP_
|
|
#define RFL_CONFIG_HPP_
|
|
|
|
namespace rfl::config {
|
|
|
|
// To specify a different range for a particular enum type, specialize the
|
|
// enum_range template for that enum type.
|
|
template <typename T>
|
|
struct enum_range {
|
|
// In your template specialization, uncomment these two lines and replace them
|
|
// with the values of your choice.
|
|
// static constexpr int min = ...;
|
|
// static constexpr int max = ...;
|
|
};
|
|
|
|
} // namespace rfl::config
|
|
|
|
#endif
|
|
|