Boost logo

Boost Users :

Subject: Re: [Boost-users] overloaded const/non-const functions and bind
From: Igor R (boost.lists_at_[hidden])
Date: 2010-03-28 04:26:31


> I want to use a function in bind that has a const and non-const
> version named Node::get_parent. I am using the following expression:

You have to cast &Node::get_parent explicitly to one of the available
overloads, to resolve ambiguity.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net