clone - What's the opposite of shallow cloning? -


what's called when tell object clone of arguments (like in deep cloning), top-level object isn't changed?

i need implement sort of method in program, , i'm trying figure out call method.

say we're cloning foo, referenced several other objects. if doing deep-level cloning, our clone's arguments inaccessible other objects reference foo. in (currently unidentified) type of cloning, if clone foo, other objects referencing foo have access the newly cloned arguments.

i don't think there's name that. i'd suggest naming method relates reason why you're doing this.


Comments

Popular posts from this blog

html - jquery - p element wont show after I hid it -

python - BeautifulSoup: How to get the nearest tag -

php - Return Last Insert ID with PDO -