const versions of value_ptr & print