Creating a memcmp_E function [SOLVED]

gfvalvo:
Seems to me the easiest thing to do is just always tell the function how many bytes to compare. That way you don't need to mess with templates or function overloading. You can use the 'sizeof' directive to set the byte count in each call to the function.

Sure but it’s not fun :). (But would match what memcmp() does as it takes 2 pointers and the number of bytes to compare)