srctree

Johan parent 0e778ff1 fb348a12 25d2bad2
Merge pull request #375 from johnor/regster-requires

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;