Skip to content

Commit

Permalink
✨ add typeof macro (gcc)
Browse files Browse the repository at this point in the history
  • Loading branch information
zie87 committed Oct 13, 2023
1 parent 12e135c commit 1c5512d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/zll/utils/typeof_macro.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#ifndef ZLL_UTILS_TYPEOFMACRO_HPP
#define ZLL_UTILS_TYPEOFMACRO_HPP

#define ZLL_TYPE_OF(t) __typeof__(t)

#endif // ZLL_UTILS_TYPEOFMACRO_HPP

0 comments on commit 1c5512d

Please sign in to comment.