{"pub_number":"US8095922B2","doc_number":"8095922","country":"US","kind_code":"B2","patent_type":"utility","status":"active","title":"Constructor argument optimization in object model for folding multiple casts expressions","abstract_text":"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.","claims":[{"number":1,"text":"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 ","independent":true}],"description":"","inventors":[{"name":"Wong Michael","slug":"wong-michael","country":"CA"}],"assignees":[{"name":"Wong Michael","slug":"wong-michael","country":"CA"},{"name":"Ibm","slug":"ibm","country":"US"}],"examiners":["Rutten James D"],"cpc_codes":["G06F 8/443"],"ipc_codes":["G06F 9/44","G06F 9/45"],"filing_date":"2007-08-29","pub_date":"2012-01-10","grant_date":"2012-01-10","priority_date":"2007-08-29","expiration_date":"2027-08-29","application_number":"US-84716407-A","family_id":"FAM-40409539","family_members":[],"citations_made":[{"pub_number":"US5371891A","category":"SEA"},{"pub_number":"US5410705A","category":"SEA"},{"pub_number":"US5689711A","category":"SEA"},{"pub_number":"US5752034A","category":"SEA"},{"pub_number":"US6230314B1","category":"SEA"},{"pub_number":"US2002040410A1","category":"APP"},{"pub_number":"US6446259B2","category":"SEA"},{"pub_number":"US6754887B1","category":"SEA"},{"pub_number":"US2004128657A1","category":"APP"},{"pub_number":"US2004154008A1","category":"SEA"},{"pub_number":"US2004194057A1","category":"APP"},{"pub_number":"US2004216146A1","category":"APP"},{"pub_number":"US2005050521A1","category":"APP"},{"pub_number":"US2005097514A1","category":"APP"},{"pub_number":"US2005144914A1","category":"APP"},{"pub_number":"US6993744B2","category":"APP"},{"pub_number":"US7032230B2","category":"APP"},{"pub_number":"US2006150164A1","category":"APP"},{"pub_number":"US7127710B2","category":"SEA"}],"non_patent_literature":["\"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."],"drawings_count":0,"source_id":"google_patents_public","upstream_forward_citations":0,"metrics":{"forward_citations":0,"indexed_forward_citations":0,"backward_citations":19,"npl_citations":5,"citations_per_year":0.0,"pagerank":0.5550359487533569,"citation_rank":133055568,"pagerank_rank":133055568,"velocity_rank":133055568,"family_citations":0}}