((char *)func_end - (char *)func_start + 1)
should compile, but I also wonder why would anybody need to subtract those.
↧
Comment by HolyBlackCat on ISO C++ forbids using pointer to a function in subtraction
↧