diff options
| author | Mistivia <i@mistivia.com> | 2025-07-22 15:28:30 +0800 |
|---|---|---|
| committer | Mistivia <i@mistivia.com> | 2025-07-22 15:28:45 +0800 |
| commit | 999fcf0f7655c03265c222cc67617f0f510979bf (patch) | |
| tree | dd51680ffda411239e37460c834a996dc934dc63 /src/basic_traits.h | |
| parent | a8764a20f355fd8fb7b03978d754d1cbd48d0a88 (diff) | |
change dir structure
Diffstat (limited to 'src/basic_traits.h')
| -rw-r--r-- | src/basic_traits.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/basic_traits.h b/src/basic_traits.h deleted file mode 100644 index 45aaba9..0000000 --- a/src/basic_traits.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef ALGDS_BAISC_TRAITS_H_ -#define ALGDS_BAISC_TRAITS_H_ - -#include <stdio.h> - -#include "type_alias.h" - -// basic traits -#define BASIC_TRAITS_DEF(T) \ - Bool T##_eq(T lhs, T rhs); \ - Int T##_cmp(T lhs, T rhs); \ - uint64_t T##_hash(T x); \ - void T##_show(T x, FILE* fp); \ - -BASIC_TRAITS_DEF(Int); -BASIC_TRAITS_DEF(Bool); -BASIC_TRAITS_DEF(Long); -BASIC_TRAITS_DEF(Char); -BASIC_TRAITS_DEF(UInt); -BASIC_TRAITS_DEF(ULong); -BASIC_TRAITS_DEF(Double); -BASIC_TRAITS_DEF(Float); -BASIC_TRAITS_DEF(VoidPtr); -BASIC_TRAITS_DEF(String); - - -#endif |
