What does `const&` mean in `const char* const& _str`?

60 Views Asked by At

This is a constructor of class MyString:

MyString(const char* const& _str = nullptr);

Inside it, we give const char * and then again const& and then _str, what does const& mean here?

0

There are 0 best solutions below