Method for generating a binary library with function templates or class templates that support parameters of any type
OwnerXiuwen DIinventor
Life of this patent
Estimating the term…
Loading patent…
OwnerXiuwen DIinventor
Estimating the term…
The present disclosure relates to a field of software technology, specifically relates to a method for generating a binary library with function templates or class templates that support parameters of any type. For the above purpose, this disclosure has designed the Variant class: having the capability to represent any type data and also supports new-defined class data. It supports various operations. For source code of function or class template, just instantiated it as Variant type, and the source code can generate a binary library that supports any data type without any modifications. The binary library supports any type data and also support new-defined classes without modification. When using the binary library, ordinary data is converted into Variant objects, then passed to the binary library. The results is equivalent to those obtained from using ordinary data directly. Conversion between ordinary data and Variant objects requires only a single assignment statement.
A method for generating a binary library with function templates or class templates that support parameters of any type, wherein, comprising following steps of:
Dependencies are inferred from the claim text.