Skip to content

Commit

Permalink
Merge pull request #116 from linksplatform/sweep/add-clinkaddress-con…
Browse files Browse the repository at this point in the history
…cept

Add CLinkAddress concept
  • Loading branch information
FreePhoenix888 authored Sep 20, 2023
2 parents 8259973 + 0e26908 commit 4f2492d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cpp/Platform.Interfaces/CLinkAddress.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#pragma once

#include <concepts>
#include <type_traits>

namespace Platform::Interfaces {
template <typename T>
concept CLinkAddress = std::is_integral<T>::value && std::is_unsigned<T>::value;
}

0 comments on commit 4f2492d

Please sign in to comment.