Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] <@!109652764488892416> did you suggest nodiscard because of ```if (!creature->isVendorWithIconSpeak(

[DiscordArchive] <@!109652764488892416> did you suggest nodiscard because of ```if (!creature->isVendorWithIconSpeak(

[DiscordArchive] <@!109652764488892416> did you suggest nodiscard because of ```if (!creature->isVendorWithIconSpeak(

Pages (3): 1 2 3 Next
rektbyfaith
Administrator
0
06-10-2021, 01:40 PM
#1
Archived author: Claudiodfc • Posted: 2021-06-10T13:40:36.781000+00:00
Original source

<@!109652764488892416> did you suggest nodiscard because of ```if (!creature->isVendorWithIconSpeak())``` ?
rektbyfaith
06-10-2021, 01:40 PM #1

Archived author: Claudiodfc • Posted: 2021-06-10T13:40:36.781000+00:00
Original source

<@!109652764488892416> did you suggest nodiscard because of ```if (!creature->isVendorWithIconSpeak())``` ?

rektbyfaith
Administrator
0
06-10-2021, 01:41 PM
#2
Archived author: Claudiodfc • Posted: 2021-06-10T13:41:04.222000+00:00
Original source

I don't really understand what does a discarded return value really means
rektbyfaith
06-10-2021, 01:41 PM #2

Archived author: Claudiodfc • Posted: 2021-06-10T13:41:04.222000+00:00
Original source

I don't really understand what does a discarded return value really means

rektbyfaith
Administrator
0
06-10-2021, 01:42 PM
#3
Archived author: Roboto • Posted: 2021-06-10T13:42:47.561000+00:00
Original source

If I remember correctly, the compiler gives you a warning if you call a nodiscard function and don't use the value it returns
rektbyfaith
06-10-2021, 01:42 PM #3

Archived author: Roboto • Posted: 2021-06-10T13:42:47.561000+00:00
Original source

If I remember correctly, the compiler gives you a warning if you call a nodiscard function and don't use the value it returns

rektbyfaith
Administrator
0
06-10-2021, 01:46 PM
#4
Archived author: Shin • Posted: 2021-06-10T13:46:49.130000+00:00
Original source

<@!402557126544982050> precisely this, so if a method returns a value and creates no side effect, it is never supposed to be used when ignoring its result
rektbyfaith
06-10-2021, 01:46 PM #4

Archived author: Shin • Posted: 2021-06-10T13:46:49.130000+00:00
Original source

<@!402557126544982050> precisely this, so if a method returns a value and creates no side effect, it is never supposed to be used when ignoring its result

rektbyfaith
Administrator
0
06-10-2021, 01:47 PM
#5
Archived author: Claudiodfc • Posted: 2021-06-10T13:47:35.933000+00:00
Original source

ok i get it thanks
rektbyfaith
06-10-2021, 01:47 PM #5

Archived author: Claudiodfc • Posted: 2021-06-10T13:47:35.933000+00:00
Original source

ok i get it thanks

rektbyfaith
Administrator
0
06-10-2021, 03:02 PM
#6
Archived author: Claudiodfc • Posted: 2021-06-10T15:02:58.948000+00:00
Original source

is there any documentation the `ObjectGuid` that was recently implemented? that class looks freaky af
rektbyfaith
06-10-2021, 03:02 PM #6

Archived author: Claudiodfc • Posted: 2021-06-10T15:02:58.948000+00:00
Original source

is there any documentation the `ObjectGuid` that was recently implemented? that class looks freaky af

rektbyfaith
Administrator
0
06-10-2021, 03:03 PM
#7
Archived author: Claudiodfc • Posted: 2021-06-10T15:03:15.005000+00:00
Original source

didn't expect less from TC code
rektbyfaith
06-10-2021, 03:03 PM #7

Archived author: Claudiodfc • Posted: 2021-06-10T15:03:15.005000+00:00
Original source

didn't expect less from TC code

rektbyfaith
Administrator
0
06-10-2021, 03:03 PM
#8
Archived author: Claudiodfc • Posted: 2021-06-10T15:03:24.515000+00:00
Original source

only readable by hardcore devs
rektbyfaith
06-10-2021, 03:03 PM #8

Archived author: Claudiodfc • Posted: 2021-06-10T15:03:24.515000+00:00
Original source

only readable by hardcore devs

rektbyfaith
Administrator
0
06-10-2021, 03:03 PM
#9
Archived author: Claudiodfc • Posted: 2021-06-10T15:03:54.554000+00:00
Original source

this shit has so much abstraction on top of abstraction
rektbyfaith
06-10-2021, 03:03 PM #9

Archived author: Claudiodfc • Posted: 2021-06-10T15:03:54.554000+00:00
Original source

this shit has so much abstraction on top of abstraction

rektbyfaith
Administrator
0
06-10-2021, 03:06 PM
#10
Archived author: sijink • Posted: 2021-06-10T15:06:19.762000+00:00
Original source

don't think there is
rektbyfaith
06-10-2021, 03:06 PM #10

Archived author: sijink • Posted: 2021-06-10T15:06:19.762000+00:00
Original source

don't think there is

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