Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] why do we use a copy here?

[DiscordArchive] why do we use a copy here?

[DiscordArchive] why do we use a copy here?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
11-05-2024, 05:17 PM
#1
Archived author: Telegrill • Posted: 2024-11-05T17:17:37.991000+00:00
Original source

why do we use a copy here?
[Image: image.png?ex=690c2f71&is=690addf1&hm=e2b...4a509a222&]
rektbyfaith
11-05-2024, 05:17 PM #1

Archived author: Telegrill • Posted: 2024-11-05T17:17:37.991000+00:00
Original source

why do we use a copy here?
[Image: image.png?ex=690c2f71&is=690addf1&hm=e2b...4a509a222&]

rektbyfaith
Administrator
0
11-05-2024, 05:17 PM
#2
Archived author: Tea • Posted: 2024-11-05T17:17:56.104000+00:00
Original source

where do you see a copy
rektbyfaith
11-05-2024, 05:17 PM #2

Archived author: Tea • Posted: 2024-11-05T17:17:56.104000+00:00
Original source

where do you see a copy

rektbyfaith
Administrator
0
11-05-2024, 05:20 PM
#3
Archived author: Telegrill • Posted: 2024-11-05T17:20:13.230000+00:00
Original source

yeah, like passing it as a reference
rektbyfaith
11-05-2024, 05:20 PM #3

Archived author: Telegrill • Posted: 2024-11-05T17:20:13.230000+00:00
Original source

yeah, like passing it as a reference

rektbyfaith
Administrator
0
11-05-2024, 05:20 PM
#4
Archived author: MaxtorCoder • Posted: 2024-11-05T17:20:18.433000+00:00
Original source

That is not a copy
rektbyfaith
11-05-2024, 05:20 PM #4

Archived author: MaxtorCoder • Posted: 2024-11-05T17:20:18.433000+00:00
Original source

That is not a copy

rektbyfaith
Administrator
0
11-05-2024, 05:21 PM
#5
Archived author: Telegrill • Posted: 2024-11-05T17:21:54.680000+00:00
Original source

isn't it a reference to the declaration of the array?
rektbyfaith
11-05-2024, 05:21 PM #5

Archived author: Telegrill • Posted: 2024-11-05T17:21:54.680000+00:00
Original source

isn't it a reference to the declaration of the array?

rektbyfaith
Administrator
0
11-05-2024, 05:22 PM
#6
Archived author: Telegrill • Posted: 2024-11-05T17:22:02.664000+00:00
Original source

<:fry:770403425107443722>
rektbyfaith
11-05-2024, 05:22 PM #6

Archived author: Telegrill • Posted: 2024-11-05T17:22:02.664000+00:00
Original source

<:fry:770403425107443722>

rektbyfaith
Administrator
0
11-05-2024, 05:22 PM
#7
Archived author: MaxtorCoder • Posted: 2024-11-05T17:22:06.467000+00:00
Original source

Yes a reference, not a copy.
rektbyfaith
11-05-2024, 05:22 PM #7

Archived author: MaxtorCoder • Posted: 2024-11-05T17:22:06.467000+00:00
Original source

Yes a reference, not a copy.

rektbyfaith
Administrator
0
11-05-2024, 05:22 PM
#8
Archived author: Telegrill • Posted: 2024-11-05T17:22:25.183000+00:00
Original source

that's my way of understanding <Confusedword:770403424965492738>
rektbyfaith
11-05-2024, 05:22 PM #8

Archived author: Telegrill • Posted: 2024-11-05T17:22:25.183000+00:00
Original source

that's my way of understanding <Confusedword:770403424965492738>

rektbyfaith
Administrator
0
11-05-2024, 05:22 PM
#9
Archived author: MaxtorCoder • Posted: 2024-11-05T17:22:27.817000+00:00
Original source

A copy would be
```cpp
for (auto const [poisonAura, debuffSpellId] : <container>)
```
rektbyfaith
11-05-2024, 05:22 PM #9

Archived author: MaxtorCoder • Posted: 2024-11-05T17:22:27.817000+00:00
Original source

A copy would be
```cpp
for (auto const [poisonAura, debuffSpellId] : <container>)
```

rektbyfaith
Administrator
0
11-05-2024, 05:23 PM
#10
Archived author: Telegrill • Posted: 2024-11-05T17:23:02.412000+00:00
Original source

that's a direct copy to me
rektbyfaith
11-05-2024, 05:23 PM #10

Archived author: Telegrill • Posted: 2024-11-05T17:23:02.412000+00:00
Original source

that's a direct copy to me

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)