Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions include/cpp2util.h
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,17 @@ using _schar = signed char; // normally use i8 instead
using _uchar = unsigned char; // normally use u8 instead


//-----------------------------------------------------------------------
//
// fn_t<R(ArgTypes...)> For emitted Cpp2 function types
//
//-----------------------------------------------------------------------
//
template<typename T>
requires std::is_function_v<T>
using fn_t = T;


//-----------------------------------------------------------------------
//
// String utilities
Expand Down
Loading
Loading