diff options
Diffstat (limited to 'c++/component.hpp')
-rw-r--r-- | c++/component.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/c++/component.hpp b/c++/component.hpp index 14f908a..c67387b 100644 --- a/c++/component.hpp +++ b/c++/component.hpp @@ -6,13 +6,14 @@ namespace kel { namespace lbm { namespace cmpt { -template<saw::string_literal Name, uint64_t Dist, bool Read, bool Write> +template<saw::string_literal Name, uint64_t Dist, bool Read, bool Write, bool SkipSync = false> class access { public: static constexpr saw::string_literal name = Name; static constexpr uint64_t distance = Dist; static constexpr bool read = Read; static constexpr bool write = Write; + static constexpr bool skip_sync = SkipSync; }; template<typename... Acc> @@ -24,7 +25,7 @@ public: /** * Compponent class which forms the basis of the */ -template<typename T> +template<typename T, typename Descriptor, typename Cmpt> class component {}; } } |