#define "functions"

This is a discussion on #define "functions" within the C++ Programming forums, part of the General Programming Boards category; Code:
bool is_type2(const boost::any & operand, const type_info & dtype)
{ //comparison of types using a typeinfo
if (operand.type() == ...

Does it really make that much of a speed difference with just 1 overload? That isn't a rhetorical question, I really don't know the answer to it. Also, if call speed is that big of a concern, any reason why you didn't make that is_type2 function inline?