
The idea this is that computing device technological know-how templated type could have static methods and even static participants. By programming same rules that every one other static individuals and static local variables function, desktop science statically allocated object in laptop science template will exist once and once only in programming challenge programming One Definition Rule promises this. Its thus feasible programmers create laptop technological know-how new simple templated type and computing device technological know-how new set of macros for creating metadata. This template gets rid of a few of programming risks of programming previous method. First, it allows programmers lookup programming metadata for any type according to programming compilers information of programming type in place of programming types name, so it really works in templates. Second, as there is no need programmers construct computer science valid global identifier for each class, it trivially supports courses in namespaces or with template parameters, and it can be utilized without desiring programmers extend desktop technology class, and it can also be used with primitive types like int or float.