About the excerpt of generic programming ideas (continuous update)

xiaoxiao2021-03-06  57

1 When there is no introduction of template in C , the parent Stepanov C STL is sharply found. Object-oriented theory does not describe all existing structures. For example, the algorithm is not an object, and then go deep, he finds The abstract logic of many algorithms does not rely on the object it act ... generics can support the high degree of reuse of code in the case of efficiency, and have mathematical abstract beauty (this contact STL source code) People are very clear). Thus, generics immediately become one of the light characteristics of C . 2004-9-7 From "www.cstc.net.cn" comment: This sentence is generally summarized for an introduced instructions for object-oriented and generic.

转载请注明原文地址:https://www.9cbs.com/read-118217.html

New Post(0)