Constructor argument optimization in object model for folding multiple casts expressions
Abstract
A method and computer program product for providing an optimization for a most derived object during compile time are provided. The optimization determines whether a most derived class object is present during a compile time. Also, the optimization utilizes the most derived class object to obtain a location of a virtual base for the most derived class object during the compile time, and provides the virtual base of the most derived class object during the compile time. The method is executed for a constructor and/or a destructor. The constructor or destructor contains arguments which require conversion to a base type, and the conversion is performed at compile-time instead of at runtime.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 19 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for providing an optimization for a most derived object during compile time, the method comprising: determining whether the most derived class object is present during compile time; utilizing the most derived class object to obtain a location of a virtual base for the most derived class object during compile time; providing the virtual base of the most derived class object during compile time; and running the optimization during compile time in which the most derived class object does not require a virtual function-table table to be passed in and the most derived class object already
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (19)
Non-Patent Literature (5)
- "Using C++ to Define Abstract Data Types", [Online] [http://www.cse.sc.edu/~vargasje/CSCE350-Spring2003/Docs/CPP2.pdf.].
- "Using C++ to Define Abstract Data Types", [Online] [http://www.cse.sc.edu/˜vargasje/CSCE350—Spring2003/Docs/CPP2.pdf.].
- Allen Holliday, "C++ Files" Revision 2, Feb. 3, 2005.
- Bruce Eckel, "Thinking in C++", Feb. 19, 2003, Internet Archive, accessed online at , 4 selected pages.
- Bruce Eckel, "Thinking in C++", Feb. 19, 2003, Internet Archive, accessed online at <http://replay.waybackmachine.org/20030219122623/http://www.codeguru.com/cpp/tic/tic0249.shtml>, 4 selected pages.