binding reference of type discards qualifiers code example
Example: binding reference of type discards qualifiers
Error is simple. Your constructor takes const reference but then you try to bind it into non-const reference member.
Error is simple. Your constructor takes const reference but then you try to bind it into non-const reference member.