--- Log opened Sat Nov 07 00:00:57 2015 |
00:01 | | catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code |
00:31 | | Derakon[AFK] is now known as Derakon |
01:18 | < Derakon> | McM: it's been awhile since I did C++, but I'd say moderately icky, move to constructor body if possible, but a simple comment would be fine. |
01:19 | | catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: ] |
01:20 | | catadroid [catalyst@Nightstar-9ugaae.dab.02.net] has joined #code |
01:33 | < McMartin> | Hm, poking at it, the compiler checks. |
01:33 | < McMartin> | Keeping it in one place means putting everything in the initializers, actually. |
01:42 | < gnolam> | Hmm. |
01:42 | < gnolam> | No Alek. |
01:43 | < catadroid> | hm? |
01:54 | < McMartin> | Derakon: The rule for the record is that fields are constructed in-place in the order of declaration, and the constructor includes an initializer list before the body starts to hand those things off. Modern compilers will check if the initializer list is out of order wrt declarations (because declaration order controls) so it's pretty clear which depends on what. |
01:54 | < McMartin> | Destruction is guaranteed to happen in reverse order |
01:57 | < Derakon> | McM: yeah, so I'm suggesting letting the fields be constructed with null or default values and then set their values in the ctor body as an alternative. |
01:58 | < Derakon> | It's been awhile since I wrote serious C++, maybe that's considered bad style. |
01:59 | < catadroid> | that's not great for performance reasons, and tends to make it harder to enforce constness, but it's not terrible |
02:00 | < catadroid> | I'd consider it bad style, but I dislike the syntax of the constructor initialisers |
02:07 | < Vornicus> | yeah, initializers run before const-raints are placed. |
02:20 | | Kindamoody[zZz] is now known as Kindamoody |
03:00 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Connection closed] |
03:37 | | Kindamoody is now known as Kindamoody[zZz] |
03:47 | | thalass [thalass@Nightstar-283.o7s.158.104.IP] has joined #code |
03:59 | | thalass is now known as Thalass|duino |
04:00 | | * Thalass|duino prods himi |
04:09 | < himi> | Oh, hey |
04:13 | < himi> | What can I do for you, my hackish friend? |
04:14 | | * himi prods Thalass|duino |
04:17 | < Thalass|duino> | arr |
04:17 | < Thalass|duino> | Did you get the email I sent? Or did I remember the wrong address? |
04:19 | < himi> | I'm not seeing an email from you, so I'd say you got the address wrong |
04:20 | < himi> | sjjfowler at the gmails? |
04:20 | < Thalass|duino> | Damnit. It didn't bounce back. |
04:24 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed] |
04:48 | | Thalass|duino is now known as Thalasleep |
04:59 | | Derakon is now known as Derakon[AFK] |
05:20 | | catadroid` [catalyst@Nightstar-qhcken.dab.02.net] has joined #code |
05:22 | | catadroid [catalyst@Nightstar-9ugaae.dab.02.net] has quit [Ping timeout: 121 seconds] |
05:37 | | celticminstrel is now known as celmin|sleep |
05:51 | | gizmore [kvirc@Nightstar-4m1.mv6.252.213.IP] has quit [Ping timeout: 121 seconds] |
06:02 | | Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has quit [[NS] Quit: Quit] |
06:07 | | gizmore [kvirc@Nightstar-kg97rt.dip0.t-ipconnect.de] has joined #code |
06:12 | | cation [nobody@Nightstar-23b.42k.119.199.IP] has joined #code |
06:13 | | macdjord [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has quit [[NS] Quit: Remember, you two, be smart. And if you can't be smart, be safe. And if you can't be safe, /name it after me/.] |
06:22 | | cation [nobody@Nightstar-23b.42k.119.199.IP] has quit [Ping timeout: 121 seconds] |
06:23 | | cation [nobody@Nightstar-23b.42k.119.199.IP] has joined #code |
07:12 | | cation [nobody@Nightstar-23b.42k.119.199.IP] has quit [Ping timeout: 121 seconds] |
07:24 | | Crossfire [Z@Nightstar-r9lk5l.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
07:38 | | macdjord [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has joined #code |
08:02 | | Kindamoody[zZz] is now known as Kindamoody |
08:21 | | macdjord [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has quit [[NS] Quit: Remember, you two, be smart. And if you can't be smart, be safe. And if you can't be safe, /name it after me/.] |
08:32 | | macdjord [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has joined #code |
08:53 | | Kindamoody is now known as Kindamoody|afk |
09:29 | | catadroid` is now known as catadroid |
10:50 | | ion [Owner@Nightstar-ck1244.bchsia.telus.net] has joined #code |
11:03 | | Crossfire [Z@Nightstar-r9lk5l.cust.comxnet.dk] has joined #code |
11:09 | | ion [Owner@Nightstar-ck1244.bchsia.telus.net] has quit [Ping timeout: 121 seconds] |
11:46 | | catadroid [catalyst@Nightstar-qhcken.dab.02.net] has quit [A TLS packet with unexpected length was received.] |
11:47 | | catadroid [catalyst@Nightstar-qhcken.dab.02.net] has joined #code |
11:51 | | catadroid` [catalyst@Nightstar-r1129u.dab.02.net] has joined #code |
11:54 | | catadroid [catalyst@Nightstar-qhcken.dab.02.net] has quit [Ping timeout: 121 seconds] |
11:54 | | Emmy-zZz is now known as Emmy |
12:19 | | gnolam_ [lenin@Nightstar-tr28hr.cust.bredbandsbolaget.se] has joined #code |
12:27 | | gnolam__ [lenin@Nightstar-tr28hr.cust.bredbandsbolaget.se] has joined #code |
12:30 | | gnolam_ [lenin@Nightstar-tr28hr.cust.bredbandsbolaget.se] has quit [Ping timeout: 121 seconds] |
12:34 | | gnolam_ [lenin@Nightstar-tr28hr.cust.bredbandsbolaget.se] has joined #code |
12:36 | | gnolam__ [lenin@Nightstar-tr28hr.cust.bredbandsbolaget.se] has quit [Ping timeout: 121 seconds] |
12:46 | | Thalasleep [thalass@Nightstar-283.o7s.158.104.IP] has quit [[NS] Quit: augh] |
12:49 | | VirusJTG [VirusJTG@Nightstar-055.kas.104.208.IP] has joined #code |
12:50 | | thalass [thalass@Nightstar-283.o7s.158.104.IP] has joined #code |
14:02 | | catadroid` [catalyst@Nightstar-r1129u.dab.02.net] has quit [Ping timeout: 121 seconds] |
14:15 | | LOLBitt [lolBit@Nightstar-olj.m0v.211.95.IP] has joined #code |
14:15 | < LOLBitt> | hello |
14:15 | < LOLBitt> | how is everyone doing? |
14:16 | | LOLBitt [lolBit@Nightstar-olj.m0v.211.95.IP] has quit [[NS] Quit: ] |
14:19 | | catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code |
14:53 | | * TheWatcher eyes his email |
14:54 | < TheWatcher> | Question from a secondry school kid about arduino boards. That's a first. |
14:56 | < thalass> | awesome |
14:57 | | thalass [thalass@Nightstar-283.o7s.158.104.IP] has quit [[NS] Quit: road trip] |
15:21 | | gnolam__ [lenin@Nightstar-tr28hr.cust.bredbandsbolaget.se] has joined #code |
15:24 | | gnolam_ [lenin@Nightstar-tr28hr.cust.bredbandsbolaget.se] has quit [Ping timeout: 121 seconds] |
15:24 | | gnolam_ [lenin@Nightstar-tr28hr.cust.bredbandsbolaget.se] has joined #code |
15:28 | | gnolam__ [lenin@Nightstar-tr28hr.cust.bredbandsbolaget.se] has quit [Ping timeout: 121 seconds] |
16:12 | | gnolam__ [lenin@Nightstar-tr28hr.cust.bredbandsbolaget.se] has joined #code |
16:15 | | gnolam_ [lenin@Nightstar-tr28hr.cust.bredbandsbolaget.se] has quit [Ping timeout: 121 seconds] |
16:31 | | Derakon[AFK] is now known as Derakon |
16:32 | | catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: ] |
16:32 | | catadroid [catalyst@Nightstar-ndh970.dab.02.net] has joined #code |
17:19 | | macdjord is now known as macdjord|fude |
17:50 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
18:01 | | thalass [thalass@Nightstar-pnj.8hv.135.63.IP] has joined #code |
18:02 | | celmin|sleep is now known as celticminstrel |
18:43 | | macdjord|fude is now known as macdjord |
18:56 | | ricer [ricer@Nightstar-dlmh0f.stratoserver.net] has joined #code |
18:56 | | gnolam_ [lenin@Nightstar-tr28hr.cust.bredbandsbolaget.se] has joined #code |
18:59 | | gnolam__ [lenin@Nightstar-tr28hr.cust.bredbandsbolaget.se] has quit [Ping timeout: 121 seconds] |
19:07 | | catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code |
19:08 | | Vornotron [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
19:09 | | ricer [ricer@Nightstar-dlmh0f.stratoserver.net] has quit [[NS] Quit: Caught SystemExit exception.] |
19:11 | | ricer [ricer@Nightstar-dlmh0f.stratoserver.net] has joined #code |
19:11 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds] |
19:38 | | gizmore [kvirc@Nightstar-kg97rt.dip0.t-ipconnect.de] has quit [[NS] Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/] |
20:31 | | catadroid` [catalyst@Nightstar-lea82c.dab.02.net] has joined #code |
20:33 | | catadroid [catalyst@Nightstar-ndh970.dab.02.net] has quit [Ping timeout: 121 seconds] |
20:34 | | catadroid` [catalyst@Nightstar-lea82c.dab.02.net] has quit [[NS] Quit: Bye] |
20:47 | | thalass [thalass@Nightstar-pnj.8hv.135.63.IP] has quit [Ping timeout: 121 seconds] |
20:48 | | thalass [thalass@Nightstar-pnj.8hv.135.63.IP] has joined #code |
21:02 | | ricer [ricer@Nightstar-dlmh0f.stratoserver.net] has quit [[NS] Quit: Caught SystemExit exception.] |
21:02 | | ricer [ricer@Nightstar-dlmh0f.stratoserver.net] has joined #code |
21:05 | | Kindamoody|afk is now known as Kindamoody |
21:05 | | gizmore [kvirc@Nightstar-kg97rt.dip0.t-ipconnect.de] has joined #code |
21:24 | | ricer [ricer@Nightstar-dlmh0f.stratoserver.net] has quit [[NS] Quit: Caught SystemExit exception.] |
21:25 | | ricer [ricer@Nightstar-dlmh0f.stratoserver.net] has joined #code |
21:32 | | ricer [ricer@Nightstar-dlmh0f.stratoserver.net] has quit [[NS] Quit: Caught SystemExit exception.] |
21:34 | | ricer [ricer@Nightstar-dlmh0f.stratoserver.net] has joined #code |
21:45 | | Crossfire [Z@Nightstar-r9lk5l.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
22:00 | | Kindamoody is now known as Kindamoody[zZz] |
22:14 | | M-E [M@Nightstar-9p7hb1.direct-adsl.nl] has joined #code |
22:14 | | Emmy [M@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds] |
23:34 | | gnolam__ [lenin@Nightstar-tr28hr.cust.bredbandsbolaget.se] has joined #code |
23:37 | | gnolam___ [lenin@Nightstar-tr28hr.cust.bredbandsbolaget.se] has joined #code |
23:37 | | gnolam_ [lenin@Nightstar-tr28hr.cust.bredbandsbolaget.se] has quit [Ping timeout: 121 seconds] |
23:39 | | gnolam_ [lenin@Nightstar-tr28hr.cust.bredbandsbolaget.se] has joined #code |
23:40 | | gnolam__ [lenin@Nightstar-tr28hr.cust.bredbandsbolaget.se] has quit [Ping timeout: 121 seconds] |
23:42 | | gnolam___ [lenin@Nightstar-tr28hr.cust.bredbandsbolaget.se] has quit [Ping timeout: 121 seconds] |
--- Log closed Sun Nov 08 00:00:13 2015 |