diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-08-18 21:39:29 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-08-18 21:39:29 +0200 |
| commit | da70596895d8135e08f8caac6978117697b4c021 (patch) | |
| tree | 2516785b5434df8453687f05dc8dd877438901ab /dev/Boot/BootKit/Vendor/Shared/base.h | |
| parent | 005de79004c9d30e64bdee6e14e06f9d47d1f2ab (diff) | |
[REFACTOR]
Improved project structure.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Boot/BootKit/Vendor/Shared/base.h')
| -rw-r--r-- | dev/Boot/BootKit/Vendor/Shared/base.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/dev/Boot/BootKit/Vendor/Shared/base.h b/dev/Boot/BootKit/Vendor/Shared/base.h deleted file mode 100644 index d1c028d7..00000000 --- a/dev/Boot/BootKit/Vendor/Shared/base.h +++ /dev/null @@ -1,26 +0,0 @@ -#ifndef UTL_BASE_H -#define UTL_BASE_H - -#include <cstdint> -#include <cstddef> -#include <cassert> - -namespace utl -{ - - /** - * @brief Helper to get number of elements in array. - * - * @tparam T Auto-deduced element type - * @tparam N Auto-deduced number of elements - * @return Array size - */ - template <class T, size_t N> - constexpr size_t countof(T (&)[N]) - { - return N; - } - -} // namespace utl - -#endif
\ No newline at end of file |
