shallow copy

shallow copy
1. noun
A copy of a data structure which shares any linked structures with the original

If you modify that, youll modify all the shallow copies of the header that points to it

2. verb
To make a shallow copy of.

The bug came from trying to shallow-copy a mutable structure.


Wikipedia foundation.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • shallow copy — paviršinė kopija statusas T sritis informatika apibrėžtis Objekto kopija be į jį įeinančių (jo viduje esančių) komponentų, vietoj jų įdedant saitus į tuos komponentus, esančius originale. Taip nukopijuotas objektas gali būti naudojamas arba… …   Enciklopedinis kompiuterijos žodynas

  • Copy constructor — A copy constructor is a special constructor in the C++ programming language creating a new object as a copy of an existing object. The first argument of such a constructor is a reference to an object of the same type as is being constructed… …   Wikipedia

  • Copy-Konstruktor — Ein Kopierkonstruktor (auch Copy Konstruktor) ist in der Informatik ein spezieller Konstruktor, der eine Referenz auf ein Objekt desselben Typs als Parameter entgegennimmt und die Aufgabe hat, eine Kopie des Objektes zu erstellen.… …   Deutsch Wikipedia

  • Object copy — An object copy is an action in computing where a data object has its attributes copied to another object of the same data type. An object is a composite data type in object oriented programming languages. The copying of data is one of the most… …   Wikipedia

  • Foul copy — Foul Foul (foul), a. [Compar. Fouler ( [ e]r); superl. {Foulest}.] [OE. foul, ful, AS. f[=u]l; akin to D. vuil, G. faul rotten, OHG. f[=u]l, Icel. f[=u]l foul, fetid; Dan. fuul, Sw. ful foul, Goth. f[=u]ls fetid, Lith. puti to be putrid, L.… …   The Collaborative International Dictionary of English

  • clone (Java method) — clone() is a method in the Java programming language for object duplication. In Java, objects are manipulated through reference variables, and there is no operator for copying an object the assignment operator duplicates the reference, not the… …   Wikipedia

  • Clone (Java method) — clone() is a method in the Java programming language for object duplication.Since objects in Java are manipulated through reference variables, there is no direct way to copy an object. (We would be trying to duplicate the reference variable… …   Wikipedia

  • Prototype (patron de conception) — Pour les articles homonymes, voir Prototype. Le patron de conception prototype est utilisé lorsque la création d une instance est complexe ou consommatrice en temps. Plutôt que créer plusieurs instances de la classe, on copie la première instance …   Wikipédia en Français

  • Прототип (шаблон проектирования) — У этого термина существуют и другие значения, см. Прототип. Шаблон проектирования Прототип Prototype Тип: порождающий Описан в Design Patterns Да Прототип, (англ. Prototype …   Википедия

  • Objective-C — Класс языка: объектно ориентированный, мультипарадигмальный: рефлексивно ориентированный Появился в: 1986 Автор(ы): Бред Кокс Типизация данных: нестрогая, статическая / динамическая …   Википедия

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”