Change operator implementation into a macro and undefine macros at end of get_var_mpi_datatype.hpp.