Menu

#8 overload resolution failure

open
nobody
None
5
2005-01-15
2005-01-15
No

hi john,
your image_list-constructor cannot be resolved
correctly by the compiler:

image_list<shared> imgl_tree_;

base_message_dlg_handler() : imgl_tree_(IDB_TREEICONS,
16, 0, CLR_DEFAULT, LR_DEFAULTCOLOR)
{}

this could be either
'image_list<r_type>::image_list(int,int,int,color,UINT)'
or
'image_list<r_type>::image_list(int,int,UINT,int,int)'

(your color-class has a conversion constructor...)

Discussion


Log in to post a comment.