Just roll your own by looping through the array and adding the integers where needed:
constexpr int ipvals[] = {127, 0, 0, 1};
constexpr size_t size_vals = sizeof(ipvals) / sizeof(*ipvals);
std::ostringstream ss;
for(int i = 0; i < size_vals; ++i)
{
ss << ipvals[i];
if(i != size_vals - 1)
ss << '.';
}
Example