Re: get/set wrap methods.

On 23 February 2018 at 14:22, Pavlo Solntsev wrote:
Yes, I did. because my goal is to get 
const T& get_name()const 
method. I need to return a reference. 

Then you need to change your type to have a using member.

You can't have it both ways (return a reference, but not have something to bind the reference to).

Pick one. 

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]