On Wed, Mar 01, 2006 at 02:50:58PM -0500, Jason Merrill wrote:
Why is there only one slot for constructors in the CP_OMP_CLAUSE_INFO?
You can't use the same function for both default and copy constructing
an object. It looks like you're assuming that if the type has a default
constructor, we don't need to know about its copy constructor, and that
doesn't make sense to me.
Not that it doesn't have one, but that we won't use it. The slot
contains the constructor that will be used for *this* object, and
obviously any given object is only initialized one way.