StackOverflow Questions for Tag: shallow-copy

Nick Stinemates
Nick Stinemates

Reputation: 44210

How do I create a copy of an object in PHP?

Score: 213

Views: 175615

Answers: 9

Read More
ngb
ngb

Reputation: 303

Python read-only lists using the property decorator

Score: 19

Views: 12940

Answers: 6

Read More
Ivan Dobrev
Ivan Dobrev

Reputation: 1

Deep copy a node in C#

Score: 0

Views: 237

Answers: 2

Read More
TToprak1
TToprak1

Reputation: 368

Shallow Copy, Map and Spread Operator

Score: 0

Views: 589

Answers: 1

Read More
Adeel Abbas
Adeel Abbas

Reputation: 55

Shallow copy of arrays for range loop in go

Score: 0

Views: 705

Answers: 1

Read More
kesarling
kesarling

Reputation: 2238

Copy constructor throws null value error in C++

Score: 0

Views: 250

Answers: 1

Read More
Kid
Kid

Reputation: 2205

Why is the JavaScript spread notation not working here

Score: 4

Views: 2526

Answers: 4

Read More
copenndthagen
copenndthagen

Reputation: 50742

Javascript deep copy using JSON.parse and JSON.stringify

Score: -1

Views: 3441

Answers: 2

Read More
GreenBlue7
GreenBlue7

Reputation: 3

A class with a pointer pointing to another class as a member variable and pushing it into vector

Score: 0

Views: 561

Answers: 1

Read More
Skary
Skary

Reputation: 1362

Why two reference of the same list behave like if they are two deep copy even if not?

Score: 0

Views: 55

Answers: 1

Read More
kiborgok
kiborgok

Reputation: 1

I should be getting [[1,0],[0,0]] why am I getting [[1,0],[1,0]]?

Score: 0

Views: 19

Answers: 0

Read More
Kaiting Chen
Kaiting Chen

Reputation: 1152

When should I pass or return a struct by value?

Score: 74

Views: 36751

Answers: 9

Read More
Soerman
Soerman

Reputation: 194

shallow copying an array of an array

Score: 0

Views: 312

Answers: 1

Read More
Adam Przedniczek
Adam Przedniczek

Reputation: 202

Is it possible to make wrapper object for numbers, e.g. float, to make it mutable?

Score: 3

Views: 1800

Answers: 2

Read More
Alucaard
Alucaard

Reputation: 1

Rotate a linked list: understanding shallow/deep copy

Score: 0

Views: 79

Answers: 1

Read More
David Torrey
David Torrey

Reputation: 1352

when would I use a shallow copy?

Score: 5

Views: 3706

Answers: 2

Read More
ck1987pd
ck1987pd

Reputation: 269

Creating numpy shallow copies with arithmetic operations

Score: 0

Views: 134

Answers: 2

Read More
Simon Richard
Simon Richard

Reputation: 43

useState results in shallow copy of initial value

Score: 1

Views: 3223

Answers: 3

Read More
Yandle
Yandle

Reputation: 411

Are shallow and deep copy identical for mutable objects containing immutable values?

Score: 0

Views: 47

Answers: 0

Read More
Petr S
Petr S

Reputation: 303

What does this notation do for lists in Python: "someList[:]"?

Score: 32

Views: 3929

Answers: 6

Read More
PreviousPage 3Next