EX6_10A.cpp, pages 312, and 314
Difference in two sections of code.
EX6_10A.cpp, pages 312,
//Generic function to list an array
generic<typename T> where T:IComparable
void ListElements(array<T>^ data)...
and page 314 (part of 'How it Works'), which does not include the words 'where T:IComparable'
generic<typename T>
void ListElements(array<T>^ data)
'where T:IComparable' is not required in EX6_10A as explained on page 314.
|