07.06.2015, 15:02
Код:
if(TagOf_param1 == (tagof(_:))) { if(TagOf_param2 == (tagof(_:))) { if(param1 == -1) { //Normal Constructor } else { //Fill Constructor } } else { //Invalid } } if(TagOf_param1 == (tagof(iterator:))) //NO ELSE HERE { if(TagOf_param2 == (tagof(iterator:))) { //Range Constructor } else { //Invalid } } else if(TagOf_param1 == (tagof(list:))) { //Copy Constructor } else { //Invalid }
Код:
if(TagOf_param1 == (tagof(_:))) { if(TagOf_param2 == (tagof(_:))) { if(param1 == -1) { //Normal Constructor } else { //Fill Constructor } } else { //Invalid } } else if(TagOf_param1 == (tagof(iterator:))) //ELSE HERE { if(TagOf_param2 == (tagof(iterator:))) { //Range Constructor } else { //Invalid } } else if(TagOf_param1 == (tagof(list:))) { //Copy Constructor } else { //Invalid }