Confused about binding rvalue to copy ctor

I was looking at cppreference here:
http://en.cppreference.com/w/cpp/types/is_move_constructible

Near the end, they say this:
"Types without a move constructor, but with a copy constructor that accepts const T& arguments, satisfy std::is_move_constructible"

What exactly does this mean? Can someone give a code example of when an rvalue can be bound to a copy constructor?
Can someone give a code example of when an rvalue can be bound to a copy constructor?

A const lvalue reference can always bind to a rvalue reference.

1
2
const int& iref = 45;
const std::string& str = std::string{"abc"};


What exactly does this mean?

It means std::is_move_constructible will return true for all types that has a copy constructor even if they don't have a move constructor.
Topic archived. No new replies allowed.