Switch to DuckDuckGo Search
   March 22, 2019
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31

Toggle Join/Part | bottom
[00:01:58] *** AbleBacon <AbleBacon!~AbleBacon@unaffiliated/ablebacon> has joined ##C++-general
[00:07:19] *** r734 <r734!~r734@unaffiliated/r734> has joined ##C++-general
[00:08:52] *** booyah_ <booyah_!~bb@193.25.1.157> has joined ##C++-general
[00:09:41] *** booyah <booyah!~bb@193.25.1.157> has quit IRC (Read error: Connection reset by peer)
[00:11:25] *** libertyprime <libertyprime!~libertypr@203.86.194.68> has joined ##C++-general
[00:13:05] *** PJBoy <PJBoy!~PJBoy@unaffiliated/pjboy> has joined ##C++-general
[00:13:54] *** Jesin <Jesin!~Jesin@pool-72-83-62-150.washdc.fios.verizon.net> has quit IRC (Quit: Leaving)
[00:14:19] *** Sollg3r <Sollg3r!~ejakuk@gateway/tor-sasl/sollg3r> has quit IRC (Ping timeout: 256 seconds)
[00:21:23] *** kitsunenokenja <kitsunenokenja!~kitsunech@68.91.220.96> has joined ##C++-general
[00:21:47] *** npaperbot <npaperbot!~npaperbot@dodecahedron.m-ou.se> has quit IRC (Remote host closed the connection)
[00:21:52] *** asymptotically <asymptotically!~asymptoti@gateway/tor-sasl/asymptotically> has quit IRC (Quit: Leaving)
[00:21:56] *** npaperbot <npaperbot!~npaperbot@dodecahedron.m-ou.se> has joined ##C++-general
[00:24:56] *** symm- <symm-!~symm-@95.65.81.202> has joined ##C++-general
[00:28:02] *** irrenhaus3 <irrenhaus3!~xenon@ip-37-201-7-9.hsi13.unitymediagroup.de> has quit IRC (Quit: Lost terminal)
[00:29:34] *** Jesin <Jesin!~Jesin@pool-72-83-62-150.washdc.fios.verizon.net> has joined ##C++-general
[00:34:14] *** Tazmain <Tazmain!~Tazmain@unaffiliated/tazmain> has quit IRC (Quit: Left)
[00:37:04] *** kerrang <kerrang!64249d0d@gateway/web/cgi-irc/kiwiirc.com/ip.100.36.157.13> has joined ##C++-general
[00:45:24] *** Sollg3r <Sollg3r!~ejakuk@gateway/tor-sasl/sollg3r> has joined ##C++-general
[00:46:09] *** Sollg3r <Sollg3r!~ejakuk@gateway/tor-sasl/sollg3r> has quit IRC (Remote host closed the connection)
[00:48:56] *** kitsunenokenja <kitsunenokenja!~kitsunech@68.91.220.96> has quit IRC (Ping timeout: 268 seconds)
[00:51:31] *** AbleBacon <AbleBacon!~AbleBacon@unaffiliated/ablebacon> has quit IRC (Read error: Connection reset by peer)
[00:55:37] *** Paul92 <Paul92!~Paul92@xdsl-188-155-31-222.adslplus.ch> has quit IRC (Ping timeout: 272 seconds)
[00:57:46] *** Forsaken87 <Forsaken87!~quassel@2a02:908:186f:7e40:c3d1:d26c:4515:13b> has quit IRC (Ping timeout: 252 seconds)
[00:59:48] *** Ingersol <Ingersol!~Ingersol@host-static-93-116-234-146.moldtelecom.md> has quit IRC (Ping timeout: 250 seconds)
[01:04:31] *** AfroThundr|main <AfroThundr|main!~AfroThund@countervandalism/AfroThundr3007730> has quit IRC (Ping timeout: 255 seconds)
[01:08:18] *** kerrang <kerrang!64249d0d@gateway/web/cgi-irc/kiwiirc.com/ip.100.36.157.13> has quit IRC (Ping timeout: 244 seconds)
[01:09:39] *** mode7 <mode7!~user@2a02:2455:59f:0:f203:8cff:fe6a:642d> has quit IRC (Ping timeout: 252 seconds)
[01:14:07] *** thomas_25 <thomas_25!~thomas_25@unaffiliated/thomas-25/x-0068438> has joined ##C++-general
[01:16:16] *** kerrang <kerrang!64249d0d@gateway/web/cgi-irc/kiwiirc.com/ip.100.36.157.13> has joined ##C++-general
[01:18:08] *** AfroThundr|main <AfroThundr|main!~AfroThund@countervandalism/AfroThundr3007730> has joined ##C++-general
[01:26:44] *** PJBoy <PJBoy!~PJBoy@unaffiliated/pjboy> has quit IRC (Ping timeout: 252 seconds)
[01:29:20] *** Lord_of_Life_ <Lord_of_Life_!~Lord@unaffiliated/lord-of-life/x-0885362> has joined ##C++-general
[01:29:30] *** fruit_clover <fruit_clover!~user@176.15.228.110> has quit IRC (Remote host closed the connection)
[01:31:52] *** Lord_of_Life <Lord_of_Life!~Lord@unaffiliated/lord-of-life/x-0885362> has quit IRC (Ping timeout: 250 seconds)
[01:31:54] *** Lord_of_Life_ is now known as Lord_of_Life
[01:33:18] *** kitsunenokenja <kitsunenokenja!~kitsunech@68.91.220.96> has joined ##C++-general
[01:33:26] *** velco <velco!~chill@cpc92724-cmbg20-2-0-cust20.5-4.cable.virginm.net> has quit IRC (Quit: Leaving...)
[01:33:29] *** mode7 <mode7!~user@2a02:2455:59f:0:f203:8cff:fe6a:642d> has joined ##C++-general
[01:34:52] *** b0bby| <b0bby|!~b0bby__@unaffiliated/b0bby/x-9259440> has joined ##C++-general
[01:36:13] *** TC|busy is now known as tcanens
[01:38:57] *** LunarJetman <LunarJetman!LunarJetma@5ec16e1a.skybroadband.com> has quit IRC (Quit: LunarJetman)
[01:40:18] *** Sollg3r <Sollg3r!~ejakuk@gateway/tor-sasl/sollg3r> has joined ##C++-general
[01:42:59] *** thomas_25 <thomas_25!~thomas_25@unaffiliated/thomas-25/x-0068438> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[01:48:18] <RandomReader> KombuchaKip - sounds reasonable, it's the sort of thing I'd start with
[01:58:13] *** solidfox <solidfox!~solidpizz@unaffiliated/snake/x-2550465> has quit IRC (Quit: Leaving)
[02:02:52] *** mitch0 <mitch0!~mitch@188-143-56-4.pool.digikabel.hu> has quit IRC (Remote host closed the connection)
[02:04:42] *** xekz <xekz!~kexmex@unaffiliated/kexmex> has joined ##C++-general
[02:05:32] *** kadoban <kadoban!~mud@unaffiliated/kadoban> has quit IRC (Quit: bye)
[02:08:29] *** Akahige <Akahige!~rob@unaffiliated/moto-chan> has quit IRC (Ping timeout: 268 seconds)
[02:11:34] *** b0bby| <b0bby|!~b0bby__@unaffiliated/b0bby/x-9259440> has quit IRC (Quit: Leaving)
[02:19:51] *** thomas_25 <thomas_25!~thomas_25@unaffiliated/thomas-25/x-0068438> has joined ##C++-general
[02:23:29] *** JPulowski <JPulowski!~JPulowski@95.70.163.223> has quit IRC (Quit: Leaving)
[02:24:14] *** kerrang <kerrang!64249d0d@gateway/web/cgi-irc/kiwiirc.com/ip.100.36.157.13> has quit IRC (Remote host closed the connection)
[02:24:55] *** Shikadi <Shikadi!~Shikadi@cpe-98-10-45-235.rochester.res.rr.com> has quit IRC (Ping timeout: 246 seconds)
[02:27:30] *** Qay1N <Qay1N!~ejakuk@gateway/tor-sasl/sollg3r> has joined ##C++-general
[02:30:53] *** Sollg3r <Sollg3r!~ejakuk@gateway/tor-sasl/sollg3r> has quit IRC (Ping timeout: 256 seconds)
[02:46:54] *** seymorDucks <seymorDucks!~nathan@2601:246:4900:39f4:9013:9aa:cd8c:66ee> has quit IRC (Quit: Leaving.)
[02:48:26] *** thomas_25 <thomas_25!~thomas_25@unaffiliated/thomas-25/x-0068438> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[02:59:59] *** lh_mouse <lh_mouse!~lh_mouse@unaffiliated/lh-mouse/x-3986007> has joined ##C++-general
[03:11:03] *** Qay1N <Qay1N!~ejakuk@gateway/tor-sasl/sollg3r> has quit IRC (Remote host closed the connection)
[03:11:22] *** Qay1N <Qay1N!~ejakuk@gateway/tor-sasl/sollg3r> has joined ##C++-general
[03:17:18] *** cbreak <cbreak!~cbreak@77-58-201-132.dclient.hispeed.ch> has quit IRC (Read error: Connection reset by peer)
[03:17:26] *** davr0s <davr0s!~textual@host81-147-72-11.range81-147.btcentralplus.com> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[03:18:00] *** cbreak <cbreak!~cbreak@77-58-201-132.dclient.hispeed.ch> has joined ##C++-general
[03:22:47] *** rajrajraj <rajrajraj!uid72176@gateway/web/irccloud.com/x-ctypqyhsnplkpwju> has joined ##C++-general
[03:29:07] <Serus> For you visual studio users
[03:29:16] <Serus> is having the packes.config enough?
[03:29:19] *** lh_ideapad <lh_ideapad!~lh_mouse@unaffiliated/lh-mouse/x-3986007> has joined ##C++-general
[03:29:33] <Serus> Or do I need to put the entire packages folder on github too?
[03:39:41] *** symm- <symm-!~symm-@95.65.81.202> has quit IRC (Ping timeout: 244 seconds)
[03:50:05] *** r734 <r734!~r734@unaffiliated/r734> has quit IRC (Quit: Leaving)
[03:55:06] *** Qay1N <Qay1N!~ejakuk@gateway/tor-sasl/sollg3r> has quit IRC (Quit: Leaving)
[03:55:28] *** mackal <mackal!~mike@pool-98-118-112-22.bstnma.fios.verizon.net> has quit IRC (Quit: BE VIGILANT.)
[04:09:30] *** forgottenone <forgottenone!~forgotten@176.88.97.10> has joined ##C++-general
[04:10:03] *** tm <tm!~sinnlos@unaffiliated/tm> has quit IRC (Ping timeout: 245 seconds)
[04:14:47] <computerquip> Serus, I have no clue what you mean.
[04:15:00] *** tm <tm!~sinnlos@unaffiliated/tm> has joined ##C++-general
[04:15:04] <Serus> nuget stuff
[04:15:21] <Serus> I found out that the packages folder is not needed, VS will make it itself
[04:21:48] *** npaperbot <npaperbot!~npaperbot@dodecahedron.m-ou.se> has quit IRC (Remote host closed the connection)
[04:21:56] *** npaperbot <npaperbot!~npaperbot@dodecahedron.m-ou.se> has joined ##C++-general
[04:27:30] *** kitsunenokenja <kitsunenokenja!~kitsunech@68.91.220.96> has quit IRC (Ping timeout: 252 seconds)
[04:31:16] <dnscat> hello. is it possible to increment an enum without casting to an int, doing post/pre increment, then casting back to the enum?
[04:38:35] <Stanley00> dnscat: I would suggest make a function next_enum, and using switch case for it (or you can using casting if like, but I won't recommend)
[04:38:36] *** cbreak <cbreak!~cbreak@77-58-201-132.dclient.hispeed.ch> has quit IRC (Read error: Connection reset by peer)
[04:39:03] *** cbreak <cbreak!~cbreak@77-58-201-132.dclient.hispeed.ch> has joined ##C++-general
[04:39:54] *** pulse <pulse!~pulse@unaffiliated/pulse> has quit IRC (Quit: the cheetahmen ran off... and now ... the cheetahmen)
[04:42:31] *** Roughy <Roughy!~mdaw45ns@188.126.203.78> has quit IRC (Quit: Meadow Fresh milk)
[04:55:24] <KombuchaKip> RandomReader: Thank you.
[04:57:56] *** forgottenone <forgottenone!~forgotten@176.88.97.10> has quit IRC (Ping timeout: 252 seconds)
[05:10:24] *** mackal <mackal!~mike@pool-98-118-112-22.bstnma.fios.verizon.net> has joined ##C++-general
[05:13:13] *** Rangar <Rangar!~Rangar@124.197.27.173> has joined ##C++-general
[05:15:47] *** _Rangar_ <_Rangar_!~Rangar@124.197.27.173> has quit IRC (Ping timeout: 244 seconds)
[05:21:19] *** fc5dc9d4_ <fc5dc9d4_!~quassel@p57A3248E.dip0.t-ipconnect.de> has joined ##C++-general
[05:25:24] *** fc5dc9d4 <fc5dc9d4!~quassel@p5B081411.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 246 seconds)
[05:26:38] <Samian> hi
[05:26:46] *** immibis <immibis!~immibis@125-238-72-168-fibre.sparkbb.co.nz> has joined ##C++-general
[05:27:06] <Samian> anyone know of a way to put a cpp program in windows in a mode that pauses it without taking up much cpu power?
[05:27:35] <Samian> actually nevermind
[05:27:42] <Samian> that was a vague question anyway
[05:27:58] <computerquip> Samian, if you use event-based APIs, you'll be pretty good on efficiency generally.
[05:28:56] <computerquip> In Windows, if you're networking or waiting on something, use overlapped structures.
[05:31:47] *** fury <fury!uid193779@gateway/web/irccloud.com/x-zcmobilbwuskvifa> has quit IRC (Ping timeout: 240 seconds)
[05:31:54] *** hfjvjffju <hfjvjffju!sid313090@gateway/web/irccloud.com/x-tnbbjtcpsmwuyslk> has quit IRC (Ping timeout: 268 seconds)
[05:32:19] *** rajrajraj <rajrajraj!uid72176@gateway/web/irccloud.com/x-ctypqyhsnplkpwju> has quit IRC (Quit: Connection closed for inactivity)
[05:32:31] *** drmeister <drmeister!sid45147@gateway/web/irccloud.com/x-fgwrbucyskprexas> has quit IRC (Ping timeout: 268 seconds)
[05:32:42] *** fury <fury!uid193779@gateway/web/irccloud.com/x-qunvrhucxnswcpie> has joined ##C++-general
[05:32:42] *** drmeister <drmeister!sid45147@gateway/web/irccloud.com/x-rslgrdaoniressyn> has joined ##C++-general
[05:32:47] *** tcsc <tcsc!sid721@gateway/web/mozilla/x-lcglbqyhponugfot> has quit IRC (Ping timeout: 240 seconds)
[05:32:51] *** lhtseng <lhtseng!sid15322@gateway/web/irccloud.com/x-gecoegxgyutlbsuk> has quit IRC (Ping timeout: 250 seconds)
[05:33:07] *** Anonaly <Anonaly!~Anonaly@unaffiliated/anom01y-/x-8370081> has quit IRC (Ping timeout: 240 seconds)
[05:34:17] *** hfjvjffju <hfjvjffju!sid313090@gateway/web/irccloud.com/x-artdflsihgjuyxcw> has joined ##C++-general
[05:34:24] *** lhtseng <lhtseng!sid15322@gateway/web/irccloud.com/x-mtezctgsjzdhwiiz> has joined ##C++-general
[05:38:33] *** tcsc <tcsc!sid721@gateway/web/mozilla/x-esqxuyuimvtlknvo> has joined ##C++-general
[05:39:20] *** Anonaly <Anonaly!~Anonaly@unaffiliated/anom01y-/x-8370081> has joined ##C++-general
[05:52:13] *** thomas_25 <thomas_25!~thomas_25@unaffiliated/thomas-25/x-0068438> has joined ##C++-general
[05:57:00] *** kadoban <kadoban!~mud@unaffiliated/kadoban> has joined ##C++-general
[05:59:32] *** alyptik <alyptik!ayy@cpe-76-173-133-37.hawaii.res.rr.com> has quit IRC (Ping timeout: 252 seconds)
[06:09:10] *** alyptik <alyptik!ayy@cpe-76-173-133-37.hawaii.res.rr.com> has joined ##C++-general
[06:17:17] *** xekz <xekz!~kexmex@unaffiliated/kexmex> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[06:18:10] *** Mr0rris0 <Mr0rris0!aece2069@gateway/web/cgi-irc/kiwiirc.com/ip.174.206.32.105> has quit IRC (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
[06:19:59] *** Kelzorz <Kelzorz!~Kelzorz@162.104.220.155> has quit IRC (Quit: 0x80)
[06:23:18] *** Mr0rris0 <Mr0rris0!aece2069@gateway/web/cgi-irc/kiwiirc.com/ip.174.206.32.105> has joined ##C++-general
[06:28:50] *** forgottenone <forgottenone!~forgotten@176.88.100.153> has joined ##C++-general
[06:35:05] *** PJBoy <PJBoy!~PJBoy@unaffiliated/pjboy> has joined ##C++-general
[06:37:30] *** forgottenone <forgottenone!~forgotten@176.88.100.153> has quit IRC (Quit: Konversation terminated!)
[06:52:53] *** thomas_25 <thomas_25!~thomas_25@unaffiliated/thomas-25/x-0068438> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[06:55:20] *** lh_ideapad <lh_ideapad!~lh_mouse@unaffiliated/lh-mouse/x-3986007> has quit IRC (Ping timeout: 272 seconds)
[06:57:35] *** libertyprime <libertyprime!~libertypr@203.86.194.68> has quit IRC (Quit: leaving)
[07:00:41] *** SlashLife^work <SlashLife^work!3e862e62@gateway/web/freenode/ip.62.134.46.98> has quit IRC (Ping timeout: 256 seconds)
[07:05:53] *** snyp <snyp!~Snyp@202.83.17.8> has joined ##C++-general
[07:07:33] *** lh_ideapad <lh_ideapad!~lh_mouse@unaffiliated/lh-mouse/x-3986007> has joined ##C++-general
[07:08:46] *** kadoban <kadoban!~mud@unaffiliated/kadoban> has quit IRC (Quit: bye)
[07:09:35] *** led_dark_1 <led_dark_1!~Thunderbi@217.66.160.14> has quit IRC (Quit: led_dark_1)
[07:12:42] *** led_dark_1 <led_dark_1!~Thunderbi@217.66.160.14> has joined ##C++-general
[07:19:26] *** BOKALDO <BOKALDO!~BOKALDO@46.109.207.65> has joined ##C++-general
[07:29:07] *** mescalinum <mescalinum!~mescalinu@unaffiliated/mescalinum> has joined ##C++-general
[07:32:19] *** quarterback <quarterback!~quarterba@unaffiliated/quarterback> has joined ##C++-general
[07:33:22] *** quarterback <quarterback!~quarterba@unaffiliated/quarterback> has quit IRC (Read error: Connection reset by peer)
[07:38:22] *** quarterback <quarterback!~quarterba@unaffiliated/quarterback> has joined ##C++-general
[07:54:34] *** thomas_25 <thomas_25!~thomas_25@unaffiliated/thomas-25/x-0068438> has joined ##C++-general
[07:55:53] *** Haohmaru <Haohmaru!~Haohmaru@195.24.53.110> has joined ##C++-general
[07:58:22] *** PJBoy <PJBoy!~PJBoy@unaffiliated/pjboy> has quit IRC (Quit: ChatZilla 0.9.93 [Firefox 56.0.2/20171024165158])
[08:02:13] *** darnir <darnir!~darnir@go7box.xyz> has quit IRC (Quit: ZNC - https://znc.in)
[08:04:15] *** libertyprime <libertyprime!~libertypr@203.86.194.68> has joined ##C++-general
[08:08:10] *** forgottenone <forgottenone!~forgotten@176.88.100.153> has joined ##C++-general
[08:10:31] *** biberu <biberu!~biberu@sslvpn.who-umc.org> has joined ##C++-general
[08:11:02] *** JohnMS_WORK <JohnMS_WORK!~JohnMS_WO@host-193-59-178-3.gog.com> has joined ##C++-general
[08:17:13] *** libertyprime <libertyprime!~libertypr@203.86.194.68> has quit IRC (Quit: leaving)
[08:17:35] *** mescalinum <mescalinum!~mescalinu@unaffiliated/mescalinum> has quit IRC (Read error: No route to host)
[08:17:37] *** mescalin_ <mescalin_!~mescalinu@unaffiliated/mescalinum> has joined ##C++-general
[08:19:03] *** nullcone <nullcone!uid11626@gateway/web/irccloud.com/x-awknwcunoowghbax> has quit IRC (Quit: Connection closed for inactivity)
[08:20:26] *** Tazmain <Tazmain!~Tazmain@unaffiliated/tazmain> has joined ##C++-general
[08:21:49] *** npaperbot <npaperbot!~npaperbot@dodecahedron.m-ou.se> has quit IRC (Remote host closed the connection)
[08:21:58] *** npaperbot <npaperbot!~npaperbot@dodecahedron.m-ou.se> has joined ##C++-general
[08:23:07] *** z8z <z8z!~x@ac230029.ppp.asahi-net.or.jp> has joined ##C++-general
[08:29:22] *** Gvidon <Gvidon!~Gvidon@unaffiliated/gvidon> has joined ##C++-general
[08:33:42] *** mitch0 <mitch0!~mitch@188-143-118-4.pool.digikabel.hu> has joined ##C++-general
[08:34:51] *** darnir <darnir!~darnir@go7box.xyz> has joined ##C++-general
[08:38:23] *** leni536 <leni536!~lenard@hund.phy.bme.hu> has joined ##C++-general
[08:46:09] *** Noti <Noti!~steffan@ip4da40774.direct-adsl.nl> has joined ##C++-general
[08:56:42] *** sldr <sldr!~sldr@ip-sw-01.mentice.com> has joined ##C++-general
[09:08:19] *** Noti <Noti!~steffan@ip4da40774.direct-adsl.nl> has quit IRC (Quit: Konversation terminated!)
[09:09:18] *** Tazmain <Tazmain!~Tazmain@unaffiliated/tazmain> has quit IRC (Read error: Connection reset by peer)
[09:10:17] *** cbreak <cbreak!~cbreak@77-58-201-132.dclient.hispeed.ch> has quit IRC (Read error: Connection reset by peer)
[09:10:44] *** Noti <Noti!~steffan@ip4da40774.direct-adsl.nl> has joined ##C++-general
[09:11:44] *** cbreak <cbreak!~cbreak@77-58-201-132.dclient.hispeed.ch> has joined ##C++-general
[09:13:32] *** Tazmain <Tazmain!~Tazmain@unaffiliated/tazmain> has joined ##C++-general
[09:17:32] *** V-ille <V-ille!~vivoutil@85-23-140-45.bb.dnainternet.fi> has quit IRC (Ping timeout: 252 seconds)
[09:19:01] *** quarterback <quarterback!~quarterba@unaffiliated/quarterback> has quit IRC (Quit: Leaving)
[09:21:41] *** Bowgly <Bowgly!~Cesar@105.199.95.219> has joined ##C++-general
[09:22:43] *** interop_madness <interop_madness!~interop_m@unaffiliated/interop-madness/x-8858653> has joined ##C++-general
[09:24:21] *** Rangar <Rangar!~Rangar@124.197.27.173> has quit IRC (Quit: Leaving)
[09:25:51] *** mescalin_ <mescalin_!~mescalinu@unaffiliated/mescalinum> has quit IRC (Ping timeout: 244 seconds)
[09:26:52] *** mescalinum <mescalinum!~mescalinu@unaffiliated/mescalinum> has joined ##C++-general
[09:36:14] *** velco <velco!~chill@cpc92724-cmbg20-2-0-cust20.5-4.cable.virginm.net> has joined ##C++-general
[09:44:03] *** Noti <Noti!~steffan@ip4da40774.direct-adsl.nl> has quit IRC (Quit: Konversation terminated!)
[09:47:36] <leni536> Hi, Bowgly
[09:47:48] <Bowgly> hey
[09:47:53] <Bowgly> to reiterate for others: I'm integrating some C code, and I'm a bit confused/startled by the way a class/struct pointer is created. Is my understanding and conversion to cpp accurate?http://coliru.stacked-crooked.com/a/d32aacbd422a3f87
[09:48:20] <Bowgly> (the C code is taken from the inotify creators from here: https://www.linuxjournal.com/article/8478)
[09:48:44] <leni536> and in that example they store struct inotify_event instances (not pointers!) in the buffer
[09:48:47] <leni536> in a char buffer
[09:49:14] <leni536> I don't understand why, can't you make an inotify_event array in C?
[09:50:14] <Bowgly> ok, the first line of the C code (struct inotify_event *event) is a pointer to an inotify_event, correct? And then the second line is asigning that pointer
[09:51:01] <leni536> yes, and takes an address of a char in the array, reinterpreting as an address to inotify_event
[09:51:12] <leni536> so in the end the inotify_event points into the char array
[09:53:35] <leni536> For C++ integration I would use std::vector<inotify_event> with an initial size of 1024 as suggested in the article
[09:54:42] <Bowgly> that would be the equivalent of the char buf[BUF_LEN] then?
[09:54:51] <Bowgly> (after setting the size)
[09:54:57] <leni536> You can probably interface with the C API with the data() member function and some reinterpret_cast<char *> (one of the few that's defined behavior)
[09:55:44] <leni536> equivalent in the end result, yes, but you gain some type safety out of it (besides gluing with the C api)
[09:55:58] <Bowgly> alright, we're on the same page then I believe
[09:56:16] <Bowgly> so my 'conversion' to cpp code is correct then, aka it would compile and work. Just not ideal
[09:56:59] <leni536> you need a pointer cast in your example, otherwise it won't compile
[09:57:29] <leni536> in cpp reinterpret_cast is preferred over C-style cast, as it's more explicit
[09:58:38] <Bowgly> I'm sorry, I'm not quite following (a bit rusty on casts as well)
[09:58:44] <Bowgly> I'm gonna have to read this more carefully
[09:59:38] <leni536> http://coliru.stacked-crooked.com/a/d32aacbd422a3f87 <- line 12 doesn't compile without pointer cast
[10:02:18] <leni536> But I still suggest going the std::vector<inotify_event> ev; approach, then you would need read(fd, reinterpret_cast<char*>(ev.data()), ev.size()*sizeof(inotify_event))
[10:02:28] <Bowgly> I think I understand, it would not interpret the address it's given correctly without a pointer cast. Gonna have to read up on that a bit to really understand why and how though
[10:03:40] <leni536> but after you manage to populate that vector you can say goodbye to pointer cast, you have a type safe vector of inotify_event objects, no need to pointer cast when accessing it.
[10:04:58] <Bowgly> Alright, thanks. I'll try to understand the casts some more and write code that I understand using the vector route
[10:08:52] *** gehn <gehn!gehn@gateway/vpn/privateinternetaccess/gehn> has joined ##C++-general
[10:12:38] *** V-ille <V-ille!~vivoutil@192.89.120.62> has joined ##C++-general
[10:12:55] *** Arimil <Arimil!~Renari@70.15.16.168.res-cmts.sm.ptd.net> has quit IRC (Read error: Connection reset by peer)
[10:13:18] *** JohnMS <JohnMS!~JohnMS_WO@host-193-59-178-3.gog.com> has joined ##C++-general
[10:13:18] *** Arimil <Arimil!~Renari@172.58.233.19> has joined ##C++-general
[10:14:07] *** Arimil <Arimil!~Renari@172.58.233.19> has quit IRC (Max SendQ exceeded)
[10:14:33] *** Arimil <Arimil!~Renari@172.58.233.19> has joined ##C++-general
[10:14:37] *** JohnMS_WORK <JohnMS_WORK!~JohnMS_WO@host-193-59-178-3.gog.com> has quit IRC (Ping timeout: 245 seconds)
[10:15:22] *** Arimil <Arimil!~Renari@172.58.233.19> has quit IRC (Max SendQ exceeded)
[10:15:53] *** Arimil <Arimil!~Renari@172.58.233.19> has joined ##C++-general
[10:16:28] *** Arimil <Arimil!~Renari@172.58.233.19> has quit IRC (Max SendQ exceeded)
[10:26:54] *** Arimil <Arimil!~Renari@70.15.16.168.res-cmts.sm.ptd.net> has joined ##C++-general
[10:29:51] *** gehn <gehn!gehn@gateway/vpn/privateinternetaccess/gehn> has quit IRC (Quit: Leaving)
[10:33:31] <Bowgly> thanks leni536 this compiles: http://coliru.stacked-crooked.com/a/c4545daaef7efeabexecution%20expired
[10:33:55] <Bowgly> oh
[10:34:01] <Bowgly> that link doesnt work
[10:34:15] <Bowgly> http://coliru.stacked-crooked.com/a/c4545daaef7efeab
[10:35:35] <Bowgly> So I store the events directly in a vector, then point to them via a pointer, only need to do the reinterpret cast for the read() part
[10:42:57] <leni536> Bowgly: don't just reserve(1024), create the vector with 1024 elements
[10:43:07] <leni536> otherwise size() will be 0
[10:44:21] <leni536> and when BUF_LEN too small, then you can resize() and try again
[10:45:11] <leni536> (probably in a power of 2 fashion)
[10:46:34] *** Mr0rris0 <Mr0rris0!aece2069@gateway/web/cgi-irc/kiwiirc.com/ip.174.206.32.105> has quit IRC (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
[10:47:38] <Bowgly> alright, thanks. Will do. I'm also a bit confused as to why I can't seem to use shared_ptrs for the events, but I'll figure it out
[10:49:39] *** Mike11 <Mike11!~Mike@unaffiliated/mike11> has joined ##C++-general
[10:51:54] <leni536> oh, geez, there is a chance that I misguided you, and you can't actually use vector here :/
[10:52:40] <Bowgly> there's always a chance :D
[10:52:41] <leni536> looks like the return char buffer from the inotify api doesn't return a neatly uniform layout of equal size inotify_event objects in a char buffer
[10:53:12] <leni536> the way it's handled in the char buffer
[10:54:14] <leni536> events have a length field that seems to describe the length of a variadic length of misc. data for the event
[10:55:04] <leni536> so the layout is more like [inotify_event]<misc. data 1>[inotify_event]<misc. data 2 >...
[10:55:41] <leni536> that's why they didn't use an inotify_event array in the first place
[10:57:46] <Bowgly> ah, padding
[11:00:10] <Bowgly> back to the C world I go
[11:00:31] <Bowgly> still learned a bunch
[11:04:05] <Bowgly> It seems like I can just ignore the 'struct' part for assignment for C++ style: inotify_event *event; event = (inotify_event*) &buf[i];
[11:04:16] <Bowgly> this should be equivalent to the C code they gave
[11:04:22] *** symm- <symm-!~symm-@95.65.81.202> has joined ##C++-general
[11:04:54] *** escanor <escanor!67157d4e@gateway/web/freenode/ip.103.21.125.78> has joined ##C++-general
[11:05:48] <escanor> hello every one i am having a map of map<string,list<string>>
[11:06:29] <escanor> how can i find a particular value list at a particular key value
[11:07:01] <escanor> search for particular value in list at a given key value
[11:07:06] <Bowgly> map_name[key][i]
[11:07:07] <Bowgly> iirc
[11:08:30] <escanor> i need to find whether key contains a given value
[11:09:25] <Bowgly> in map<string,list<string>> the first string is the key, not the string inside the list
[11:09:40] <escanor> yes
[11:12:20] <Bowgly> mymap.find(key)->second[i]
[11:12:22] <Bowgly> should work
[11:12:33] <Bowgly> oh wait
[11:12:35] <leni536> careful
[11:15:25] <escanor> what does ->second[i] denotes? :)
[11:16:44] <leni536> map::find returns an iterator, the iterator's value_type is pair<const Key, Value>
[11:17:28] *** hellozee <hellozee!~hellozee@116.73.32.169> has joined ##C++-general
[11:17:46] <leni536> I have no idea what the indexing does there, as you have a list
[11:17:55] <Bowgly> the second part of the pair is the value. So that key's value is 'second',
[11:18:08] <Bowgly> yeah the indexing is the problem
[11:18:30] <Bowgly> also it searches for a key... not really an element
[11:18:30] <leni536> also find can return map.end() and you must check that
[11:18:36] *** lh_ideapad <lh_ideapad!~lh_mouse@unaffiliated/lh-mouse/x-3986007> has quit IRC (Remote host closed the connection)
[11:20:35] *** Noti <Noti!~steffan@ip4da40774.direct-adsl.nl> has joined ##C++-general
[11:21:49] *** TC|busy <TC|busy!~tcanens@wikipedia/Tim-Song> has joined ##C++-general
[11:25:15] *** tcanens <tcanens!~tcanens@wikipedia/Tim-Song> has quit IRC (Ping timeout: 268 seconds)
[11:26:48] *** velco <velco!~chill@cpc92724-cmbg20-2-0-cust20.5-4.cable.virginm.net> has quit IRC (Remote host closed the connection)
[11:27:07] *** mescalinum <mescalinum!~mescalinu@unaffiliated/mescalinum> has quit IRC (Ping timeout: 245 seconds)
[11:28:49] *** mescalinum <mescalinum!~mescalinu@unaffiliated/mescalinum> has joined ##C++-general
[11:29:39] *** blueness <blueness!~blueness@gentoo/developer/blueness> has quit IRC (Ping timeout: 268 seconds)
[11:29:43] <Bowgly> well escanor it does work for vectors, (searching a key by element index), I don't ever use lists, but maybe it can help you find a solution. And as leni536 pointed out, this isn't very safe the way it's written, since if it doesn't consider what to do when it doesn't find anything
[11:29:48] <Bowgly> http://coliru.stacked-crooked.com/a/b453ed89dc48d443
[11:31:20] <Bowgly> another approach would be to loop through the map for every map, for every map's second element, for every second element's element etc.
[11:32:12] <escanor> second approach would be very time cosuming as i have a large set of elements
[11:32:32] <Bowgly> here's a rather concise example of the second approach https://github.com/BoggGod/IRCClient/blob/master/src/Functions/smsMapToFile.cpp
[11:33:07] <Bowgly> I believe you could do mymap.find(key)->second.somelistfunction
[11:33:40] <Bowgly> '->second' is the list of that key, so you can use its member functions directly
[11:34:13] *** Human_G33k <Human_G33k!~HumanG33k@62.147.242.8> has joined ##C++-general
[11:34:32] <escanor> Bowgly: just making my requirement clear and hope there is no confusion
[11:34:40] <escanor> Please let me know if there is any
[11:35:10] <escanor> I have the key i need to find whether an element is present at that key position
[11:35:42] <escanor> Here i have list at value from which i need to find the element
[11:37:36] *** HumanG33k <HumanG33k!~HumanG33k@62.147.242.8> has quit IRC (Ping timeout: 244 seconds)
[11:38:16] <leni536> you can use std::find from <algorithm>
[11:38:49] <leni536> but maybe std::list is not really what you want
[11:40:42] <leni536> actually you might want to consider unordered_multimap or multipmap
[11:49:54] *** blueness <blueness!~blueness@gentoo/developer/blueness> has joined ##C++-general
[11:55:33] *** m_ben <m_ben!~m_ben@unaffiliated/m-ben/x-5917362> has joined ##C++-general
[11:55:58] *** asymptotically <asymptotically!~asymptoti@gateway/tor-sasl/asymptotically> has joined ##C++-general
[11:56:34] *** hubnerd <hubnerd!~weechat@2a02:8010:612b:1:6a05:caff:fe61:cbfb> has joined ##C++-general
[11:57:58] *** JohnMS <JohnMS!~JohnMS_WO@host-193-59-178-3.gog.com> has quit IRC (Read error: Connection reset by peer)
[11:58:14] *** JohnMS <JohnMS!~JohnMS_WO@host-193-59-178-3.gog.com> has joined ##C++-general
[12:01:13] *** hubnerd <hubnerd!~weechat@2a02:8010:612b:1:6a05:caff:fe61:cbfb> has quit IRC (Ping timeout: 252 seconds)
[12:02:57] *** forgottenone <forgottenone!~forgotten@176.88.100.153> has quit IRC (Quit: Konversation terminated!)
[12:04:51] *** forgottenone <forgottenone!~forgotten@176.88.100.153> has joined ##C++-general
[12:08:13] *** seni <seni!~Nimitz14@cpc91224-cmbg18-2-0-cust82.5-4.cable.virginm.net> has quit IRC (Quit: Leaving)
[12:10:27] *** asymptotically <asymptotically!~asymptoti@gateway/tor-sasl/asymptotically> has quit IRC (Quit: Leaving)
[12:11:40] *** forgottenone <forgottenone!~forgotten@176.88.100.153> has quit IRC (Quit: Konversation terminated!)
[12:15:47] *** purnifire <purnifire!~purnifire@mm-84-33-121-178.gomel.dynamic.pppoe.byfly.by> has joined ##C++-general
[12:17:39] *** irrenhaus3 <irrenhaus3!~xenon@ip-37-201-7-9.hsi13.unitymediagroup.de> has joined ##C++-general
[12:21:49] *** npaperbot <npaperbot!~npaperbot@dodecahedron.m-ou.se> has quit IRC (Remote host closed the connection)
[12:21:57] *** npaperbot <npaperbot!~npaperbot@dodecahedron.m-ou.se> has joined ##C++-general
[12:24:11] *** gareppa <gareppa!~gareppa@unaffiliated/gareppa> has joined ##C++-general
[12:25:16] *** snyp <snyp!~Snyp@202.83.17.8> has quit IRC (Ping timeout: 252 seconds)
[12:30:18] *** BOKALDO <BOKALDO!~BOKALDO@46.109.207.65> has quit IRC (Quit: Leaving)
[12:32:28] *** seni <seni!~Nimitz14@cpc91224-cmbg18-2-0-cust82.5-4.cable.virginm.net> has joined ##C++-general
[12:39:16] *** davr0s <davr0s!~textual@host81-147-72-11.range81-147.btcentralplus.com> has joined ##C++-general
[12:39:52] *** Human_G33k <Human_G33k!~HumanG33k@62.147.242.8> has quit IRC (Ping timeout: 272 seconds)
[12:42:13] *** luc4 <luc4!~luca@ip-28-60.sn2.clouditalia.com> has joined ##C++-general
[12:44:30] *** snyp <snyp!~Snyp@202.83.17.8> has joined ##C++-general
[12:50:04] *** gareppa <gareppa!~gareppa@unaffiliated/gareppa> has quit IRC (Quit: Leaving)
[12:53:52] *** Human_G33k <Human_G33k!~HumanG33k@62.147.242.8> has joined ##C++-general
[12:55:50] *** MrCrackPotBuilde <MrCrackPotBuilde!~MrCrackPo@2001:f40:903:113e:2982:fc21:194c:7bbb> has quit IRC (Remote host closed the connection)
[12:56:10] *** MrCrackPotBuilde <MrCrackPotBuilde!~MrCrackPo@2001:f40:903:113e:f17d:4d05:2eae:dcc9> has joined ##C++-general
[13:04:16] *** Shikadi <Shikadi!~Shikadi@cpe-98-10-45-235.rochester.res.rr.com> has joined ##C++-general
[13:09:10] *** purnifire <purnifire!~purnifire@mm-84-33-121-178.gomel.dynamic.pppoe.byfly.by> has quit IRC (Read error: Connection reset by peer)
[13:14:34] *** thadtheman <thadtheman!~thadthema@2600:1700:3051:4370:21b:fcff:fe6e:ff04> has quit IRC (*.net *.split)
[13:14:34] *** tacod <tacod!tacodrake9@unaffiliated/tacod> has quit IRC (*.net *.split)
[13:14:34] *** erikj <erikj!erikj@unaffiliated/erikj> has quit IRC (*.net *.split)
[13:14:34] *** de-vri-es <de-vri-es!~de-vri-es@voyager.de-vri.es> has quit IRC (*.net *.split)
[13:16:51] *** saku <saku!~saku@static.10.173.99.88.clients.your-server.de> has quit IRC (Ping timeout: 246 seconds)
[13:18:03] *** shfil <shfil!uid293885@gateway/web/irccloud.com/x-pwbbjguzccatdqsc> has joined ##C++-general
[13:19:59] *** saku <saku!~saku@static.10.173.99.88.clients.your-server.de> has joined ##C++-general
[13:21:07] *** thadtheman <thadtheman!~thadthema@2600:1700:3051:4370:21b:fcff:fe6e:ff04> has joined ##C++-general
[13:22:13] *** de-vri-es <de-vri-es!~de-vri-es@voyager.de-vri.es> has joined ##C++-general
[13:27:36] *** mescalinum <mescalinum!~mescalinu@unaffiliated/mescalinum> has quit IRC (Ping timeout: 252 seconds)
[13:29:24] *** Mike11 <Mike11!~Mike@unaffiliated/mike11> has quit IRC (Quit: Leaving.)
[13:31:11] *** bobb_ <bobb_!~bobb_@dslb-088-066-152-251.088.066.pools.vodafone-ip.de> has joined ##C++-general
[13:32:39] *** Lord_of_Life_ <Lord_of_Life_!~Lord@unaffiliated/lord-of-life/x-0885362> has joined ##C++-general
[13:33:20] *** Lord_of_Life <Lord_of_Life!~Lord@unaffiliated/lord-of-life/x-0885362> has quit IRC (Ping timeout: 244 seconds)
[13:33:43] *** mescalinum <mescalinum!~mescalinu@unaffiliated/mescalinum> has joined ##C++-general
[13:35:03] *** Lord_of_Life_ is now known as Lord_of_Life
[13:35:51] *** lh_ideapad <lh_ideapad!~lh_mouse@unaffiliated/lh-mouse/x-3986007> has joined ##C++-general
[13:36:26] *** BMSTR <BMSTR!~fabian@ip-176-198-184-197.hsi05.unitymediagroup.de> has joined ##C++-general
[13:39:09] <BMSTR> Hi, I got a problem with building a template library. The codebase itself is pretty small (500+lines) but when I build it (gcc 8.2, ubuntu 18.04) it uses about 1.4GB of RAM(!). Now I want to port that to my raspberry pi, but it only has 1GB. Any idea what I can do about that? Its only 2-3 headers and a single *.cpp executable...
[13:39:30] *** JohnMS_WORK <JohnMS_WORK!~JohnMS_WO@host-193-59-178-3.gog.com> has joined ##C++-general
[13:40:59] <leni536> BMSTR: consider cross-compiling
[13:41:34] *** BOKALDO <BOKALDO!~BOKALDO@46.109.207.65> has joined ##C++-general
[13:41:40] <BMSTR> the official cross compiling tools only got gcc 4.8.3 and I need c++14
[13:42:02] <BMSTR> at least thats what I found in the official repo on git hub
[13:42:09] <leni536> Is this a template library that you use in your own codebase?
[13:42:51] *** JohnMS <JohnMS!~JohnMS_WO@host-193-59-178-3.gog.com> has quit IRC (Ping timeout: 268 seconds)
[13:44:06] <leni536> What kind of template library is this and what you use from it?
[13:44:28] <leni536> There could be ways to tame this horrific RAM usage
[13:45:28] *** escanor <escanor!67157d4e@gateway/web/freenode/ip.103.21.125.78> has quit IRC (Quit: Page closed)
[13:46:22] *** JohnMS_WORK <JohnMS_WORK!~JohnMS_WO@host-193-59-178-3.gog.com> has quit IRC (Ping timeout: 272 seconds)
[13:47:00] <BMSTR> its to pass things from and to boost::beast to another application
[13:47:12] <BMSTR> (maybe it is beast itself?)
[13:47:33] <BMSTR> but I already excluded beast once and it was still horrible)
[13:47:48] *** foolsh <foolsh!~quassel@89.187.181.130> has joined ##C++-general
[13:48:03] *** davr0s <davr0s!~textual@host81-147-72-11.range81-147.btcentralplus.com> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[13:57:20] *** Noti <Noti!~steffan@ip4da40774.direct-adsl.nl> has quit IRC (Quit: Konversation terminated!)
[14:04:00] *** Appleman1234 <Appleman1234!~Appleman1@2001:44b8:21b3:4001::100> has joined ##C++-general
[14:05:34] <leni536> on debian sid the gcc arm cross compilers are 8.3.0, I don't know if they are appropriate for a raspberry pi
[14:06:23] <leni536> namely gcc-arm-linux-gnueabi, I guess it's the same on ubuntu
[14:07:31] *** immibis <immibis!~immibis@125-238-72-168-fibre.sparkbb.co.nz> has quit IRC (Ping timeout: 268 seconds)
[14:08:46] <BMSTR> i checked out these ones: https://github.com/raspberrypi/tools.git
[14:08:57] <BMSTR> when building it tells me 4.8.3 mhh
[14:11:39] *** Roughy <Roughy!~mdaw45ns@188.126.203.78> has joined ##C++-general
[14:14:18] <BMSTR> 4.9.3* or am I getting something wrong. I thought I had to use this one. But this might be a question for the rpi channel. But back to my original question, I tried extern templates, but this didn't work. Is there any trick to this?
[14:18:21] *** Appleman1234 <Appleman1234!~Appleman1@2001:44b8:21b3:4001::100> has quit IRC (Ping timeout: 252 seconds)
[14:23:10] *** SlashLife^work <SlashLife^work!3e862e62@gateway/web/freenode/ip.62.134.46.98> has joined ##C++-general
[14:24:07] <leni536> I don't usually use extern templates, but the idea is that you dedicate a single translation unit for non-extern explicit instantiations and use the extern declarations in other TUs
[14:24:52] <leni536> you can separate the explicit insantiations further, so each TU use less resources one-by-one
[14:27:30] *** asymptotically <asymptotically!~asymptoti@gateway/tor-sasl/asymptotically> has joined ##C++-general
[14:37:19] *** velco <velco!~chill@cpc92724-cmbg20-2-0-cust20.5-4.cable.virginm.net> has joined ##C++-general
[14:37:57] *** mandeep <mandeep!~mandeep@unaffiliated/mandeepb> has quit IRC (Ping timeout: 245 seconds)
[14:38:20] *** manuelschneid3r <manuelschneid3r!~manuelsch@p200300E24714BA00A81E77D3B9E071DB.dip0.t-ipconnect.de> has joined ##C++-general
[14:42:06] *** velco <velco!~chill@cpc92724-cmbg20-2-0-cust20.5-4.cable.virginm.net> has quit IRC (Ping timeout: 272 seconds)
[14:42:53] *** Tazmain <Tazmain!~Tazmain@unaffiliated/tazmain> has quit IRC (Remote host closed the connection)
[14:43:19] *** mandeep <mandeep!~mandeep@unaffiliated/mandeepb> has joined ##C++-general
[14:55:25] *** snyp <snyp!~Snyp@202.83.17.8> has quit IRC (Ping timeout: 272 seconds)
[15:05:13] *** bayoubengal <bayoubengal!~bayoubeng@rrcs-50-84-94-202.sw.biz.rr.com> has quit IRC (Read error: Connection reset by peer)
[15:05:48] *** bayoubengal <bayoubengal!~bayoubeng@rrcs-50-84-94-202.sw.biz.rr.com> has joined ##C++-general
[15:08:37] *** kadoban <kadoban!~mud@unaffiliated/kadoban> has joined ##C++-general
[15:10:11] *** vdamewood <vdamewood!~vdamewood@unaffiliated/vdamewood> has joined ##C++-general
[15:11:16] *** kerrang <kerrang!c74c1502@gateway/web/cgi-irc/kiwiirc.com/ip.199.76.21.2> has joined ##C++-general
[15:11:38] *** Arlen0 <Arlen0!~Arlen0@cpe-24-243-33-35.satx.res.rr.com> has joined ##C++-general
[15:11:46] *** Arlen0 <Arlen0!~Arlen0@cpe-24-243-33-35.satx.res.rr.com> has quit IRC (Client Quit)
[15:14:03] *** asymptotically <asymptotically!~asymptoti@gateway/tor-sasl/asymptotically> has quit IRC (Remote host closed the connection)
[15:14:46] *** simonious <simonious!~simonious@131-093-124-210.res.spectrum.com> has quit IRC (Ping timeout: 250 seconds)
[15:16:38] *** asymptotically <asymptotically!~asymptoti@gateway/tor-sasl/asymptotically> has joined ##C++-general
[15:21:38] *** Tazmain <Tazmain!~Tazmain@unaffiliated/tazmain> has joined ##C++-general
[15:23:15] *** Tazmain <Tazmain!~Tazmain@unaffiliated/tazmain> has quit IRC (Read error: Connection reset by peer)
[15:27:04] *** mescalinum <mescalinum!~mescalinu@unaffiliated/mescalinum> has quit IRC (Ping timeout: 272 seconds)
[15:30:22] *** nullcone <nullcone!uid11626@gateway/web/irccloud.com/x-yaiepvprjxvesboq> has joined ##C++-general
[15:30:56] *** mescalinum <mescalinum!~mescalinu@unaffiliated/mescalinum> has joined ##C++-general
[15:31:39] *** BMSTR <BMSTR!~fabian@ip-176-198-184-197.hsi05.unitymediagroup.de> has quit IRC (Quit: Leaving)
[15:32:03] *** pulse <pulse!~pulse@unaffiliated/pulse> has joined ##C++-general
[15:34:45] *** liefer <liefer!~liefer@3e6b4c17.rev.stofanet.dk> has quit IRC (Ping timeout: 244 seconds)
[15:39:38] *** liefer <liefer!liefer@gateway/vpn/mullvad/liefer> has joined ##C++-general
[15:40:20] *** symm- <symm-!~symm-@95.65.81.202> has quit IRC (Ping timeout: 252 seconds)
[15:40:40] *** davr0s <davr0s!~textual@host81-147-72-11.range81-147.btcentralplus.com> has joined ##C++-general
[15:47:50] *** mescalinum <mescalinum!~mescalinu@unaffiliated/mescalinum> has quit IRC (Ping timeout: 250 seconds)
[15:48:07] *** mescalin_ <mescalin_!~mescalinu@unaffiliated/mescalinum> has joined ##C++-general
[15:51:16] *** lh_ideapad <lh_ideapad!~lh_mouse@unaffiliated/lh-mouse/x-3986007> has quit IRC (Remote host closed the connection)
[15:52:01] *** xekz <xekz!~kexmex@unaffiliated/kexmex> has joined ##C++-general
[16:06:06] *** purplex88 <purplex88!~purplex88@unaffiliated/purplex88> has joined ##C++-general
[16:11:29] *** sldr <sldr!~sldr@ip-sw-01.mentice.com> has quit IRC (Read error: Connection reset by peer)
[16:13:53] *** xekz <xekz!~kexmex@unaffiliated/kexmex> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[16:15:07] *** Meteorhead <Meteorhead!2eeb993c@gateway/web/freenode/ip.46.235.153.60> has quit IRC (Quit: Page closed)
[16:16:48] *** pfirsich <pfirsich!81c00a02@gateway/web/freenode/ip.129.192.10.2> has joined ##C++-general
[16:17:08] <pfirsich> hey! is it fine to ask for help in this channel? or should I go somewhere else?
[16:17:22] <m_ben> !help
[16:17:22] <nolyc> (help [<plugin>] [<command>]) -- This command gives a useful description of what <command> does. <plugin> is only necessary if the command is in more than one plugin. You may also want to use the 'list' command to list all available plugins and commands.
[16:17:28] <m_ben> !ask
[16:17:29] <nolyc> We always welcome interesting questions about C++; you don't need to ask whether you can ask them. Additionally, if you wish to avoid being made fun of, please read http://www.catb.org/~esr/faqs/smart-questions.html
[16:17:44] <m_ben> pfirsich: ^
[16:18:19] <pfirsich> alright, I was wondering if this is undefined behaviour: https://godbolt.org/z/toFjkt
[16:18:20] *** solidfox <solidfox!~solidpizz@unaffiliated/snake/x-2550465> has joined ##C++-general
[16:18:47] <pfirsich> damn, I forgot to make Base derive from BaseBase
[16:19:09] <pfirsich> https://godbolt.org/z/VJ2AsX <- new link
[16:19:24] <pfirsich> afaik it would definitely be UB without BaseBase, because ~Base is not virtual
[16:19:41] <pfirsich> and I don't think know how BaseBase could change that, but I'd rather ask
[16:21:13] <pfirsich> it doesn't look ~Derived is called in the assembly, but I don't feel super confident making that judgment definitely
[16:21:33] *** riksteri <riksteri!~SpaceDino@91.214.169.69> has joined ##C++-general
[16:21:39] <leni536> why? It looks allright
[16:21:49] *** npaperbot <npaperbot!~npaperbot@dodecahedron.m-ou.se> has quit IRC (Remote host closed the connection)
[16:21:50] <pfirsich> because ~Base is not virtual
[16:21:55] <leni536> yes it is
[16:21:58] *** npaperbot <npaperbot!~npaperbot@dodecahedron.m-ou.se> has joined ##C++-general
[16:22:15] <pfirsich> because ~BaseBase is?
[16:22:20] <leni536> yes
[16:22:31] <pfirsich> I see. good thing I asked then. thank you!
[16:25:03] <leni536> of course an explicit override or virtual doesn't hurt, at least it makes the code look right
[16:25:56] <pfirsich> yeah, I absolutely agree. I was just trying to figure out if this is relevant to weird behaviour
[16:26:06] <pfirsich> *something like this
[16:26:54] *** pfirsich <pfirsich!81c00a02@gateway/web/freenode/ip.129.192.10.2> has quit IRC (Quit: Page closed)
[16:31:52] *** xekz <xekz!~kexmex@unaffiliated/kexmex> has joined ##C++-general
[16:34:16] *** dee_two <dee_two!~d2@103.88.125.241> has joined ##C++-general
[16:35:50] *** symm- <symm-!~symm-@95.65.81.202> has joined ##C++-general
[16:38:11] *** snyp <snyp!~Snyp@1.39.147.209> has joined ##C++-general
[16:43:58] *** xekz <xekz!~kexmex@unaffiliated/kexmex> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[16:48:11] *** thomas_25 <thomas_25!~thomas_25@unaffiliated/thomas-25/x-0068438> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[16:48:50] *** Bowgly <Bowgly!~Cesar@105.199.95.219> has quit IRC (Quit: leaving)
[16:51:00] *** goiko <goiko!~goiko@unaffiliated/goiko> has joined ##C++-general
[16:54:08] *** Tazmain <Tazmain!~Tazmain@unaffiliated/tazmain> has joined ##C++-general
[16:56:18] *** Sollg3r <Sollg3r!~ejakuk@gateway/tor-sasl/sollg3r> has joined ##C++-general
[16:56:57] *** Elysion_ <Elysion_!~Elysion@124-148-129-247.dyn.iinet.net.au> has quit IRC (Read error: Connection reset by peer)
[17:00:52] *** yuriii <yuriii!~yurii@87.110.183.173> has quit IRC (Quit: Konversation terminated!)
[17:01:51] *** Sollg3r <Sollg3r!~ejakuk@gateway/tor-sasl/sollg3r> has quit IRC (Ping timeout: 256 seconds)
[17:03:14] *** biberu <biberu!~biberu@sslvpn.who-umc.org> has quit IRC ()
[17:05:41] *** V-ille <V-ille!~vivoutil@192.89.120.62> has quit IRC (Ping timeout: 244 seconds)
[17:10:18] *** snyp <snyp!~Snyp@1.39.147.209> has quit IRC (Ping timeout: 246 seconds)
[17:10:18] *** hellozee <hellozee!~hellozee@116.73.32.169> has quit IRC (Remote host closed the connection)
[17:10:38] *** hellozee <hellozee!~hellozee@116.73.32.169> has joined ##C++-general
[17:13:27] *** dee_two <dee_two!~d2@103.88.125.241> has quit IRC (Ping timeout: 246 seconds)
[17:13:56] *** dholmes2 <dholmes2!~dholmes@c-73-164-101-81.hsd1.mn.comcast.net> has joined ##C++-general
[17:16:22] *** xekz <xekz!~kexmex@unaffiliated/kexmex> has joined ##C++-general
[17:17:32] *** Sollg3r <Sollg3r!~ejakuk@gateway/tor-sasl/sollg3r> has joined ##C++-general
[17:17:55] *** dholmes3 <dholmes3!~dholmes@c-73-164-101-81.hsd1.mn.comcast.net> has quit IRC (Ping timeout: 272 seconds)
[17:19:21] *** Sollg3r <Sollg3r!~ejakuk@gateway/tor-sasl/sollg3r> has quit IRC (Remote host closed the connection)
[17:25:55] *** BeSpoke <BeSpoke!~UnDeRsOuL@unaffiliated/undersoul> has joined ##C++-general
[17:26:18] *** interop_madness <interop_madness!~interop_m@unaffiliated/interop-madness/x-8858653> has quit IRC (Quit: Leaving)
[17:26:51] *** xekz <xekz!~kexmex@unaffiliated/kexmex> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[17:27:24] *** UnDeRsOuL <UnDeRsOuL!~UnDeRsOuL@unaffiliated/undersoul> has quit IRC (Ping timeout: 272 seconds)
[17:27:25] *** BeSpoke is now known as UnDeRsOuL
[17:28:11] *** Sollg3r <Sollg3r!~ejakuk@gateway/tor-sasl/sollg3r> has joined ##C++-general
[17:30:11] *** Sollg3r <Sollg3r!~ejakuk@gateway/tor-sasl/sollg3r> has quit IRC (Remote host closed the connection)
[17:30:52] *** Gvidon <Gvidon!~Gvidon@unaffiliated/gvidon> has quit IRC (Ping timeout: 245 seconds)
[17:31:24] *** manuelschneid3r <manuelschneid3r!~manuelsch@p200300E24714BA00A81E77D3B9E071DB.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 252 seconds)
[17:32:45] *** Kelzorz <Kelzorz!~Kelzorz@162.104.220.155> has joined ##C++-general
[17:33:23] *** leni536 <leni536!~lenard@hund.phy.bme.hu> has left ##C++-general
[17:34:44] *** Mr0rris0 <Mr0rris0!aece2069@gateway/web/cgi-irc/kiwiirc.com/ip.174.206.32.105> has joined ##C++-general
[17:37:04] *** led_dark_1 <led_dark_1!~Thunderbi@217.66.160.14> has quit IRC (Quit: led_dark_1)
[17:37:36] *** led_dark_1 <led_dark_1!~Thunderbi@217.66.160.14> has joined ##C++-general
[17:40:01] *** Haohmaru <Haohmaru!~Haohmaru@195.24.53.110> has quit IRC ()
[17:48:23] *** mescalin_ <mescalin_!~mescalinu@unaffiliated/mescalinum> has quit IRC (Ping timeout: 245 seconds)
[17:49:01] *** mescalinum <mescalinum!~mescalinu@unaffiliated/mescalinum> has joined ##C++-general
[17:50:09] *** Paul92 <Paul92!~Paul92@xdsl-188-155-31-222.adslplus.ch> has joined ##C++-general
[17:51:01] *** lh_mouse <lh_mouse!~lh_mouse@unaffiliated/lh-mouse/x-3986007> has quit IRC (Read error: Connection reset by peer)
[17:51:20] *** Lyberta <Lyberta!~Lyberta@gateway/tor-sasl/lyberta> has joined ##C++-general
[17:51:44] <Lyberta> is there a proper way to link to gtkmm in modern CMake?
[17:52:13] *** manuelschneid3r <manuelschneid3r!~manuelsch@p200300E24714BA00A81E77D3B9E071DB.dip0.t-ipconnect.de> has joined ##C++-general
[17:54:23] *** Serpent7776 <Serpent7776!~Serpent77@90-156-31-193.internetia.net.pl> has joined ##C++-general
[17:58:25] *** gareppa <gareppa!~gareppa@unaffiliated/gareppa> has joined ##C++-general
[17:59:03] *** gareppa <gareppa!~gareppa@unaffiliated/gareppa> has quit IRC (Remote host closed the connection)
[18:01:34] *** thomas_25 <thomas_25!~thomas_25@unaffiliated/thomas-25/x-0068438> has joined ##C++-general
[18:04:39] *** V-ille <V-ille!~vivoutil@85-23-140-45.bb.dnainternet.fi> has joined ##C++-general
[18:05:02] *** V-ille <V-ille!~vivoutil@85-23-140-45.bb.dnainternet.fi> has quit IRC (Client Quit)
[18:05:19] *** V-ille <V-ille!~vivoutil@85-23-140-45.bb.dnainternet.fi> has joined ##C++-general
[18:10:38] *** thomas_25 <thomas_25!~thomas_25@unaffiliated/thomas-25/x-0068438> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[18:15:44] <ville> pkg-config?
[18:16:58] <Lyberta> ville, does it produce imported target?
[18:21:51] <m_ben> Lyberta: from https://github.com/GNOME/gtkmm it doesn't look like they're using cmake and 'cmake --help-module-list | grep -i gtkmm' doesn't list anything on my system. so it looks like you have to write your own one or use pkg-config
[18:21:59] <m_ben> you could also ask in #cmake
[18:24:33] <Lyberta> m_ben, oh, pkg_check_modules has IMPORTED_TARGET parameter, nice
[18:24:56] <m_ben> interesting, never used it. I'm curious to see an example
[18:25:48] *** AbleBacon <AbleBacon!~AbleBacon@unaffiliated/ablebacon> has joined ##C++-general
top

   March 22, 2019
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31