Matches in DBpedia 2016-04 for { <http://dbpedia.org/resource/Copy_elision> ?p ?o }
Showing triples 1 to 39 of
39
with 100 triples per page.
- Copy_elision abstract "In C++ computer programming, copy elision refers to a compiler optimization technique that eliminates unnecessary copying of objects. The C++ language standard generally allows implementations to perform any optimization, provided the resulting program's observable behavior is the same as if, i.e. pretending, the program was executed exactly as mandated by the standard.The standard also describes a few situations where copying can be eliminated even if this would alter the program's behavior, the most common being the return value optimization. Another widely implemented optimization, described in the C++ standard, is when a temporary object of class type is copied to an object of the same type. As a result, copy-initialization is usually equivalent to direct-initialization in terms of performance, but not in semantics; copy-initialization still requires an accessible copy constructor. The optimization can not be applied to a temporary object that has been bound to a reference. Example:According to the standard a similar optimization may be applied to objects being thrown and caught, but it is unclear whether the optimization applies to both the copy from the thrown object to the exception object, and the copy from the exception object to the object declared in the exception-declaration of the catch clause. It is also unclear whether this optimization only applies to temporary objects, or named objects as well. Given the following source code:A conforming compiler should therefore produce a program which prints \"Hello World!\" twice. In the current revision of the C++ standard (C++11), the issues have been addressed, essentially allowing both the copy from the named object to the exception object, and the copy into the object declared in the exception handler to be elided.GCC provides the -fno-elide-constructors option to disable copy-elision. This option is useful to observe (or not observe!) the effects of Return Value Optimization or other optimizations where copies are elided. It is generally not recommended to disable this important optimization.".
- Copy_elision wikiPageID "26991951".
- Copy_elision wikiPageLength "4950".
- Copy_elision wikiPageOutDegree "20".
- Copy_elision wikiPageRevisionID "698643009".
- Copy_elision wikiPageWikiLink As-if_rule.
- Copy_elision wikiPageWikiLink C++.
- Copy_elision wikiPageWikiLink C++11.
- Copy_elision wikiPageWikiLink Category:Articles_with_example_C++_code.
- Copy_elision wikiPageWikiLink Category:C++.
- Copy_elision wikiPageWikiLink Category:Compiler_optimizations.
- Copy_elision wikiPageWikiLink Class_(computer_programming).
- Copy_elision wikiPageWikiLink Compiler.
- Copy_elision wikiPageWikiLink Computer_program.
- Copy_elision wikiPageWikiLink Computer_programming.
- Copy_elision wikiPageWikiLink Constructor_(object-oriented_programming).
- Copy_elision wikiPageWikiLink Exception_handling.
- Copy_elision wikiPageWikiLink GNU_Compiler_Collection.
- Copy_elision wikiPageWikiLink Object_copying.
- Copy_elision wikiPageWikiLink Optimizing_compiler.
- Copy_elision wikiPageWikiLink Return_value_optimization.
- Copy_elision wikiPageWikiLink Temporary_variable.
- Copy_elision wikiPageWikiLinkText "Copy elision".
- Copy_elision wikiPageWikiLinkText "copy elision".
- Copy_elision wikiPageWikiLinkText "elision".
- Copy_elision wikiPageUsesTemplate Template:Merge_from.
- Copy_elision wikiPageUsesTemplate Template:Reflist.
- Copy_elision subject Category:Articles_with_example_C++_code.
- Copy_elision subject Category:C++.
- Copy_elision subject Category:Compiler_optimizations.
- Copy_elision comment "In C++ computer programming, copy elision refers to a compiler optimization technique that eliminates unnecessary copying of objects. The C++ language standard generally allows implementations to perform any optimization, provided the resulting program's observable behavior is the same as if, i.e.".
- Copy_elision label "Copy elision".
- Copy_elision sameAs Q5169174.
- Copy_elision sameAs コピーの省略.
- Copy_elision sameAs m.0bs3c4_.
- Copy_elision sameAs Q5169174.
- Copy_elision sameAs 复制省略.
- Copy_elision wasDerivedFrom Copy_elision?oldid=698643009.
- Copy_elision isPrimaryTopicOf Copy_elision.