srctree

Johan Norberg parent 46703ba7 fb348a12
Limit register template argument to unsigned integrals

core/include/nes/core/ppu_registers.h added: 3, removed: 2, total 1
@@ -1,11 +1,12 @@
#pragma once
 
#include <concepts>
#include <cstddef>
#include <cstdint>
 
namespace n_e_s::core {
 
template <class TypeT>
template <std::unsigned_integral TypeT>
class Register {
public:
constexpr Register() = default;