Switch to DuckDuckGo Search
   September 24, 2018
< | 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

Toggle Join/Part | bottom
[00:00:31] *** mrallweather <mrallweather!~ben@sydney.techieman.net> has quit IRC (Remote host closed the connection)
[00:00:50] *** mrallweather <mrallweather!~ben@sydney.techieman.net> has joined ##C++-general
[00:01:01] *** NewbProgrammer10 <NewbProgrammer10!~NewbProgr@cpe-70-114-157-146.austin.res.rr.com> has quit IRC (Quit: WeeChat 1.9.1)
[00:03:33] *** mandeep_ <mandeep_!~mandeep@unaffiliated/mandeepb> has quit IRC (Quit: Leaving)
[00:04:12] *** npaperbot <npaperbot!~npaperbot@dodecahedron.m-ou.se> has quit IRC (Remote host closed the connection)
[00:04:23] *** npaperbot <npaperbot!~npaperbot@dodecahedron.m-ou.se> has joined ##C++-general
[00:07:28] *** jcelerier <jcelerier!~jcelerier@static-176-159-162-190.ftth.abo.bbox.fr> has quit IRC (Quit: Konversation terminated!)
[00:10:58] *** mackal <mackal!~mike@pool-98-118-109-254.bstnma.fios.verizon.net> has joined ##C++-general
[00:12:24] *** Gustavo6056 <Gustavo6056!~Gustavo60@unaffiliated/gustavo6046> has joined ##C++-general
[00:14:11] *** Gustavo6046 <Gustavo6046!~Gustavo60@unaffiliated/gustavo6046> has quit IRC (Ping timeout: 260 seconds)
[00:14:11] *** Gustavo6056 is now known as Gustavo6046
[00:26:19] *** fotonzade <fotonzade!~fotonzade@78.189.158.97> has joined ##C++-general
[00:31:09] *** irrenhaus3 <irrenhaus3!~xenon@ip-37-201-4-201.hsi13.unitymediagroup.de> has quit IRC (Quit: Lost terminal)
[00:33:58] *** jokoon <jokoon!~jokoon@2a01:cb1d:8884:1800:688a:46df:d45e:f52b> has joined ##C++-general
[00:34:05] <jokoon> https://ideone.com/T60myK
[00:34:19] <jokoon> can somebody tell me whats wrong here?
[00:38:00] <Ingersol> you return lambda, not a result it should caculate
[00:39:07] <Ingersol> also every lambda type is unique
[00:39:29] <Ingersol> so utp can be variable with 3 different type
[00:39:53] <Ingersol> *no utp but result of outer lambda.
[00:40:31] <Ingersol> hmm.
[00:41:44] *** jokoon2 <jokoon2!~jokoon@2a01:cb1d:8884:1800:688a:46df:d45e:f52b> has joined ##C++-general
[00:42:16] <Ingersol> however, you cant cast almbdas to (int(*)(float))
[00:42:39] *** graphene <graphene!~graphene@46.101.134.251> has joined ##C++-general
[00:42:57] <RandomReader> what is it you're trying to do there, it's not clera?
[00:42:59] <RandomReader> clear*
[00:43:23] <jokoon2> I want to return a different lambda, depending on an int
[00:43:55] <RandomReader> you want a future "utp()" to return a different lambda, or you want utp to contain one of those lambdas now?
[00:44:11] <jokoon2> I don't always have return 432; rather return some_func(float)
[00:44:42] *** jokoon <jokoon!~jokoon@2a01:cb1d:8884:1800:688a:46df:d45e:f52b> has quit IRC (Ping timeout: 252 seconds)
[00:44:58] <RandomReader> or put another way: what's the purpose of the outer lambda?
[00:45:11] <jokoon2> I just do function<float(float)> myfunc = choice(2);
[00:45:28] <RandomReader> ok
[00:46:40] <jokoon2> got it
[00:47:04] <jokoon2> I just added -> function<float(int)< { etc
[00:47:09] <jokoon2> for utp
[00:47:14] <Ingersol> auto utp = [](int which)->int(*)(float) {...}
[00:47:28] <RandomReader> ...right, I was going to make a paste but ideone broke
[00:47:58] <RandomReader> remember each closure type (from a lambda expression) is unique, so you were trying to create one function that returned multiple types
[00:48:12] <RandomReader> in this case you actually wanted it to return a type-erased std::function
[00:48:31] <RandomReader> (based on the signature rather than the unique type)
[00:49:24] *** eio__ <eio__!~jokoon@2a01:cb1d:8884:1800:f445:cd46:1eb7:bffd> has joined ##C++-general
[00:49:55] <eio__> yeah ok I get it
[00:49:57] <eio__> thanks
[00:50:11] <eio__> it just means the compiler cannot always make assumptions about type
[00:50:13] *** graphene <graphene!~graphene@46.101.134.251> has quit IRC (Remote host closed the connection)
[00:50:37] <RandomReader> right :)
[00:51:08] <eio__> which makes sense since a strongly type language is designed to always give the choice to the programmer, so he must make that choice or let the compiler do a choice that makes sense
[00:51:32] *** graphene <graphene!~graphene@46.101.134.251> has joined ##C++-general
[00:53:12] *** jokoon2 <jokoon2!~jokoon@2a01:cb1d:8884:1800:688a:46df:d45e:f52b> has quit IRC (Ping timeout: 252 seconds)
[01:04:12] *** LBV_User <LBV_User!~leonardo@2804:14d:2c80:86aa::3> has quit IRC (Ping timeout: 252 seconds)
[01:05:31] *** justanotheruser <justanotheruser!~justanoth@unaffiliated/justanotheruser> has quit IRC (Ping timeout: 260 seconds)
[01:12:25] *** Gustavo6056 <Gustavo6056!~Gustavo60@unaffiliated/gustavo6046> has joined ##C++-general
[01:14:13] *** Gustavo6046 <Gustavo6046!~Gustavo60@unaffiliated/gustavo6046> has quit IRC (Ping timeout: 244 seconds)
[01:14:13] *** Gustavo6056 is now known as Gustavo6046
[01:16:54] *** jokoon <jokoon!~jokoon@2a01:cb1d:8884:1800:c473:be24:1222:a2f5> has joined ##C++-general
[01:18:30] *** eio__ <eio__!~jokoon@2a01:cb1d:8884:1800:f445:cd46:1eb7:bffd> has quit IRC (Ping timeout: 252 seconds)
[01:30:45] *** LBV_User <LBV_User!~leonardo@177.83.249.152> has joined ##C++-general
[01:32:38] *** PSvils <PSvils!~PDevelope@91.105.16.165> has quit IRC (Quit: Leaving.)
[01:36:07] *** V-ille <V-ille!~vivoutil@167.220.58.87> has quit IRC (Ping timeout: 246 seconds)
[01:52:13] *** justanotheruser <justanotheruser!~justanoth@unaffiliated/justanotheruser> has joined ##C++-general
[01:52:32] *** V-ille <V-ille!~vivoutil@167.220.63.215> has joined ##C++-general
[01:53:14] *** fotonzade <fotonzade!~fotonzade@78.189.158.97> has quit IRC (Ping timeout: 252 seconds)
[01:59:46] *** V-ille <V-ille!~vivoutil@167.220.63.215> has quit IRC (Ping timeout: 260 seconds)
[02:00:22] *** atk <atk!~Arch-TK@ircpuzzles/staff/Arch-TK> has quit IRC (Quit: Well this is unexpected.)
[02:00:43] *** atk <atk!~Arch-TK@ircpuzzles/staff/Arch-TK> has joined ##C++-general
[02:01:17] *** Beaph <Beaph!~beef@unaffiliated/beef> has joined ##C++-general
[02:01:43] *** Beef <Beef!~beef@unaffiliated/beef> has quit IRC (Ping timeout: 245 seconds)
[02:01:43] *** Beaph is now known as Beef
[02:07:24] *** snyp <snyp!~Snyp@103.56.236.213> has joined ##C++-general
[02:12:35] *** Gustavo6056 <Gustavo6056!~Gustavo60@unaffiliated/gustavo6046> has joined ##C++-general
[02:15:47] *** Gustavo6046 <Gustavo6046!~Gustavo60@unaffiliated/gustavo6046> has quit IRC (Ping timeout: 252 seconds)
[02:15:48] *** Gustavo6056 is now known as Gustavo6046
[02:18:27] *** jokoon <jokoon!~jokoon@2a01:cb1d:8884:1800:c473:be24:1222:a2f5> has quit IRC (Ping timeout: 252 seconds)
[02:20:48] *** beeman <beeman!uid321406@gateway/web/irccloud.com/x-ssnkgzolwqauplzu> has quit IRC ()
[02:22:43] *** mitch0 <mitch0!~mitch@185-29-82-85.pool.digikabel.hu> has quit IRC (Remote host closed the connection)
[02:26:13] *** genr8_ <genr8_!~genr8_@unaffiliated/genbtc> has quit IRC (Read error: Connection reset by peer)
[02:26:39] *** XCE <XCE!~XCE@2601:646:8a01:4720:8ac:8d06:67ce:6e5b> has joined ##C++-general
[02:28:11] *** Anthaas <Anthaas!~Anthaas@unaffiliated/anthaas> has quit IRC (Excess Flood)
[02:29:20] *** beeman <beeman!uid322397@gateway/web/irccloud.com/x-kwzzvghxpikqudxv> has joined ##C++-general
[02:29:21] *** mitch0 <mitch0!~mitch@94-21-225-63.pool.digikabel.hu> has joined ##C++-general
[02:29:34] *** Anthaas <Anthaas!~Anthaas@unaffiliated/anthaas> has joined ##C++-general
[02:32:59] *** genr8_ <genr8_!~genr8_@unaffiliated/genbtc> has joined ##C++-general
[02:47:15] *** xekz <xekz!~kexmex@unaffiliated/kexmex> has joined ##C++-general
[02:53:14] *** Wetmelon <Wetmelon!~wetmelon@2600:1700:2601:7c40:f043:717:a490:5bba> has joined ##C++-general
[03:03:51] *** slavanap <slavanap!~slavanap@5.145.237.61> has quit IRC (Quit: Leaving)
[03:12:45] *** Gustavo6056 <Gustavo6056!~Gustavo60@unaffiliated/gustavo6046> has joined ##C++-general
[03:15:11] *** Gustavo6046 <Gustavo6046!~Gustavo60@unaffiliated/gustavo6046> has quit IRC (Ping timeout: 252 seconds)
[03:15:12] *** Gustavo6056 is now known as Gustavo6046
[03:15:53] *** Stryykert <Stryykert!~stryyke1@about/windows/staff/stryyker> has joined ##C++-general
[03:16:27] *** Stryyker <Stryyker!~stryyke1@about/windows/staff/stryyker> has quit IRC (Ping timeout: 240 seconds)
[03:17:07] *** Stanley00 <Stanley00!71a1490e@gateway/web/freenode/ip.113.161.73.14> has joined ##C++-general
[03:48:49] *** Jaydayal <Jaydayal!~Gbohoadgw@223.230.93.0> has joined ##C++-general
[04:02:00] *** Jaydayal <Jaydayal!~Gbohoadgw@223.230.93.0> has quit IRC (Read error: Connection reset by peer)
[04:02:31] *** graphene <graphene!~graphene@46.101.134.251> has quit IRC (Remote host closed the connection)
[04:03:51] *** graphene <graphene!~graphene@46.101.134.251> has joined ##C++-general
[04:04:13] *** npaperbot <npaperbot!~npaperbot@dodecahedron.m-ou.se> has quit IRC (Remote host closed the connection)
[04:04:24] *** npaperbot <npaperbot!~npaperbot@dodecahedron.m-ou.se> has joined ##C++-general
[04:05:10] *** Jaydayal <Jaydayal!~Gbohoadgw@223.230.93.0> has joined ##C++-general
[04:07:50] *** vdamewood <vdamewood!~vdamewood@unaffiliated/vdamewood> has joined ##C++-general
[04:10:03] *** dell30 <dell30!~dell30@cpe-70-114-157-146.austin.res.rr.com> has quit IRC (Quit: Konversation terminated!)
[04:12:56] *** Gustavo6056 <Gustavo6056!~Gustavo60@unaffiliated/gustavo6046> has joined ##C++-general
[04:14:35] *** Gustavo6046 <Gustavo6046!~Gustavo60@unaffiliated/gustavo6046> has quit IRC (Ping timeout: 252 seconds)
[04:14:36] *** Gustavo6056 is now known as Gustavo6046
[04:18:02] *** vdamewood <vdamewood!~vdamewood@unaffiliated/vdamewood> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[04:18:47] *** davr0s <davr0s!~textual@host86-149-110-62.range86-149.btcentralplus.com> has joined ##C++-general
[04:22:46] *** greg__ <greg__!~greg@unaffiliated/cheeseboy> has joined ##C++-general
[04:35:27] *** rajrajraj <rajrajraj!uid72176@gateway/web/irccloud.com/x-puvvcdnchemggbpk> has joined ##C++-general
[04:36:22] <Wetmelon> I'm having some problems with constructors, and I'm not sure what's going on. Code example: https://ideone.com/S3XfkH
[04:37:35] *** kitsunenokenja <kitsunenokenja!~kitsunech@68.91.220.96> has joined ##C++-general
[04:40:14] <Wetmelon> Are the two constructors somehow substantially different? Is there like... a call to malloc or something with the second one?
[04:40:57] <Stanley00> Wetmelon: it compiles fine on ideone.com? what is the problem?
[04:41:14] <Wetmelon> It compiles but doesn't run on my target
[04:41:18] <Wetmelon> Sorry should have specified that
[04:43:59] <Stanley00> Wetmelon: what do you mean by "doesn't run on my target"?
[04:45:51] *** Jaydayal <Jaydayal!~Gbohoadgw@223.230.93.0> has quit IRC (Read error: Connection reset by peer)
[04:46:01] *** kitsunenokenja <kitsunenokenja!~kitsunech@68.91.220.96> has quit IRC (Ping timeout: 260 seconds)
[04:46:34] *** s_frit <s_frit!~s_fritz@ppp118-209-110-232.bras1.mel11.internode.on.net> has quit IRC (Remote host closed the connection)
[04:46:57] *** s_frit <s_frit!~s_fritz@ppp118-209-110-232.bras1.mel11.internode.on.net> has joined ##C++-general
[04:52:34] *** graphene <graphene!~graphene@46.101.134.251> has quit IRC (Remote host closed the connection)
[04:53:55] *** graphene <graphene!~graphene@46.101.134.251> has joined ##C++-general
[04:57:12] <Wetmelon> *something* is failing and causing the controller to go unresponsive. Now, that could be the RTOS, but I don't have access to that layer :/
[04:57:26] <Wetmelon> (it does the same thing if I try to use malloc)
[04:58:34] *** manuelschneid3r <manuelschneid3r!~manuelsch@p200300E243D73600A55E645AE091428B.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 240 seconds)
[05:00:14] <Wetmelon> Actually that's not totally true. Malloc just always returns void, so if I try to access Foo after using new or malloc, it fails
[05:03:37] <RandomReader> sounds like the sort of thing where this isn't the problem location
[05:04:12] <RandomReader> corrupt world due to earlier UB, improper code generation by the target compiler, ...
[05:05:11] <Wetmelon> Well, either of those could certainly be true
[05:05:13] <RandomReader> (did you mean nullptr for the malloc() return?)
[05:05:19] <Wetmelon> No, C++98 :/
[05:05:31] <RandomReader> ok, NULL then?
[05:05:33] <Wetmelon> yes
[05:05:46] <Wetmelon> oh I said void. Sorry yeah I meant NULL
[05:06:00] <RandomReader> perhaps the target doesn't support dynamic allocation
[05:06:21] <Wetmelon> It PROBABLY doens't. The help file says it does, but I don't believe them lol
[05:06:34] <RandomReader> also new and malloc are different, so if you are successfully using them elsewhere, make sure you're not mixing them
[05:06:48] <Wetmelon> But that doesn't explain why Foo myObj(bar); would fail
[05:07:02] <RandomReader> it wouldn't; like I said, this sounds like not the problem location
[05:07:12] <RandomReader> if you can't attach a debugger, you don't really know where it's failing yet
[05:07:26] <Wetmelon> Well, the linker is throwing a warning about missing .ctor section
[05:08:12] <RandomReader> sounds like you're trying to create something at namespace scope without support for pre-main execution on the target
[05:08:28] <RandomReader> aka: full C++ support not available for this target configuration
[05:08:35] <Wetmelon> Aha!
[05:08:40] <Wetmelon> I have no idea what that is but it sounds promising.
[05:08:56] <RandomReader> like having Foo myObj; as a global, instead of in a function
[05:09:06] <Wetmelon> That is exactly what I was doing. File level scope
[05:09:16] <RandomReader> requires a constructor be run before main, which the linker says isn't a thing it can do
[05:10:18] <Wetmelon> So I could try declaring a static object at function level scope?
[05:10:23] <RandomReader> would have to do some digging on exactly why that is, but it's often a bad idea to do that in the first place for constrained targets
[05:10:44] <RandomReader> meaning you should not have something that complex existing as a global
[05:11:07] <RandomReader> it's usually a good policy for these kinds of environments to ensure that main() is where code execution begins, nothing else runs first
[05:11:39] <RandomReader> that means you can't put anything complex / requiring initialization as a global, since that requires something to run before main()
[05:12:38] <Wetmelon> hmm
[05:13:05] *** kallesbar <kallesbar!~kallesbar@95.175.104.70> has joined ##C++-general
[05:13:08] <RandomReader> even on unconstrained targets, that gets hard to reason about in terms of dependencies, because order of global initialization is not something you have a lot of control over
[05:13:13] *** Gustavo6056 <Gustavo6056!~Gustavo60@unaffiliated/gustavo6046> has joined ##C++-general
[05:13:26] <Wetmelon> Yeah, as I recall the constructor call chain becomes a problem
[05:13:38] <RandomReader> e.g. if A's constructor wants to use B, and B is also a global in another file, it's a 50% chance something goes boom, kinds of things
[05:14:12] <RandomReader> it's possible you can do something to get the toolchain to support this anyway, and continue like you planned
[05:14:21] <RandomReader> but I'd suggest seeing if you can avoid it instead
[05:14:30] *** fc5dc9d4_ <fc5dc9d4_!~quassel@p5B3A84EE.dip0.t-ipconnect.de> has joined ##C++-general
[05:14:30] <Wetmelon> The toolchain "supports some features of C++98" lol
[05:14:35] <Wetmelon> GCC 3.x
[05:14:47] *** Gustavo6046 <Gustavo6046!~Gustavo60@unaffiliated/gustavo6046> has quit IRC (Ping timeout: 240 seconds)
[05:14:47] *** Gustavo6056 is now known as Gustavo6046
[05:14:51] <RandomReader> ouch
[05:15:27] <RandomReader> if you really need a global, you could e.g. make it a pointer, create the object in main(), and then assign the pointer to it
[05:15:36] <Wetmelon> Lol that's an option
[05:15:54] <RandomReader> it's ugly, but it gives you a known order
[05:17:31] <RandomReader> there's the factory-style function local static option, which makes it initialized on first call, but there's still destruction support to deal with and I forget C++98's initialization rules on that
[05:17:34] *** tm <tm!~sinnlos@unaffiliated/tm> has quit IRC (Ping timeout: 244 seconds)
[05:18:23] *** fc5dc9d4 <fc5dc9d4!~quassel@p5B3A8439.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 252 seconds)
[05:18:32] <RandomReader> ...ah, cppreference says it's not terribly different, C++11 just added thread safety, so not an issue in this case
[05:19:02] <RandomReader> so like: Foo& get_foo() { static Foo f; return f; }
[05:19:15] *** Carbonflux <Carbonflux!~Carbonflu@c-24-56-228-141.customer.broadstripe.net> has joined ##C++-general
[05:19:21] <RandomReader> that problem is that needs support for running a destruction after main, so you might get complaints about a .dtor section instead
[05:19:54] <RandomReader> (well, that and you constantly access it with a function call which tends to look weird, but whatever)
[05:22:22] *** tm <tm!~sinnlos@unaffiliated/tm> has joined ##C++-general
[05:25:36] *** Karyon <Karyon!~Karyon@unaffiliated/karyon> has joined ##C++-general
[05:31:28] *** AbleBacon <AbleBacon!~AbleBacon@unaffiliated/ablebacon> has quit IRC (Read error: Connection reset by peer)
[05:37:05] *** eadthem <eadthem!~eadthem@pdpc/supporter/active/eadthem> has quit IRC (Ping timeout: 252 seconds)
[05:38:39] <Wetmelon> Hmm, I'll experiment and see
[05:38:45] <Wetmelon> I can change the linker script though if I need to
[05:39:12] <Wetmelon> I also don't care about destruction since it's embedded, and I only want to use dynamic memory allocation once at startup then never again
[05:39:47] <Wetmelon> But I'm used to just being able to define file level / namespace level objects
[05:42:13] *** graphene <graphene!~graphene@46.101.134.251> has quit IRC (Remote host closed the connection)
[05:43:32] *** graphene <graphene!~graphene@46.101.134.251> has joined ##C++-general
[05:49:00] *** Karyon <Karyon!~Karyon@unaffiliated/karyon> has quit IRC (Quit: Leaving)
[06:09:49] <Wetmelon> RandomReader: Instead of using a pointer and then constructing it, I can use a simple copy constructor... myObj = Foo(SOME_VALUE); in main
[06:10:54] <RandomReader> that still has a logical issue in that myObj must be default-constructed before main first
[06:11:22] <RandomReader> it might work now if that constructor can be trivial, but if you add more "interesting" members it's likely to fail with the same problem later
[06:11:59] <RandomReader> I'd prefer to fix the logical issue either in code or in tools, relying on this would be subtly fragile
[06:12:10] <Wetmelon> Mm, possible.
[06:13:00] *** Gustavo6056 <Gustavo6056!~Gustavo60@unaffiliated/gustavo6046> has joined ##C++-general
[06:15:16] *** Gustavo6046 <Gustavo6046!~Gustavo60@unaffiliated/gustavo6046> has quit IRC (Ping timeout: 260 seconds)
[06:15:16] *** Gustavo6056 is now known as Gustavo6046
[06:18:19] *** quarterback <quarterback!~quarterba@unaffiliated/quarterback> has joined ##C++-general
[06:22:23] *** _ohm <_ohm!~research@unaffiliated/-ohm/x-0955948> has quit IRC (Read error: Connection reset by peer)
[06:23:07] *** _ohm <_ohm!~research@unaffiliated/-ohm/x-0955948> has joined ##C++-general
[06:31:13] <rajrajraj> How many of you play cjess
[06:31:16] <rajrajraj> Chess
[06:32:46] *** Wetmelon <Wetmelon!~wetmelon@2600:1700:2601:7c40:f043:717:a490:5bba> has quit IRC (Ping timeout: 260 seconds)
[06:38:56] *** xissburg <xissburg!~xissburg@unaffiliated/xissburg> has quit IRC (Quit: ZZZzzz…)
[06:41:15] *** snyp_ <snyp_!~Snyp@103.56.236.165> has joined ##C++-general
[06:43:51] *** snyp <snyp!~Snyp@103.56.236.213> has quit IRC (Ping timeout: 244 seconds)
[06:44:46] *** led_dark_1 <led_dark_1!~Thunderbi@hotspot10.rywasoft.net> has quit IRC (Quit: led_dark_1)
[06:48:28] *** zwf <zwf!~Thunderbi@modemcable194.150-161-184.mc.videotron.ca> has quit IRC (Quit: zwf)
[06:49:52] *** sdrodge <sdrodge!~sdrodge@unaffiliated/sdrodge> has quit IRC (Quit: WeeChat 2.2)
[06:52:01] *** quarterback <quarterback!~quarterba@unaffiliated/quarterback> has left ##C++-general ("Leaving")
[06:54:24] *** sdrodge <sdrodge!~sdrodge@unaffiliated/sdrodge> has joined ##C++-general
[06:59:13] *** graphene <graphene!~graphene@46.101.134.251> has quit IRC (Remote host closed the connection)
[07:00:35] *** graphene <graphene!~graphene@46.101.134.251> has joined ##C++-general
[07:00:55] *** zwf <zwf!~Thunderbi@modemcable194.150-161-184.mc.videotron.ca> has joined ##C++-general
[07:13:10] *** a3Dman <a3Dman!~3Dman@unaffiliated/a3dman> has quit IRC (Ping timeout: 246 seconds)
[07:13:21] *** Gustavo6056 <Gustavo6056!~Gustavo60@unaffiliated/gustavo6046> has joined ##C++-general
[07:14:59] *** Gustavo6046 <Gustavo6046!~Gustavo60@unaffiliated/gustavo6046> has quit IRC (Ping timeout: 252 seconds)
[07:15:00] *** Gustavo6056 is now known as Gustavo6046
[07:15:15] *** graphene <graphene!~graphene@46.101.134.251> has quit IRC (Remote host closed the connection)
[07:16:39] *** graphene <graphene!~graphene@46.101.134.251> has joined ##C++-general
[07:23:17] *** a3Dman <a3Dman!~3Dman@unaffiliated/a3dman> has joined ##C++-general
[07:27:52] *** ville <ville!~ville@87-95-216-241.bb.dnainternet.fi> has quit IRC (Ping timeout: 246 seconds)
[07:41:37] *** quarterback <quarterback!~quarterba@unaffiliated/quarterback> has joined ##C++-general
[07:49:38] *** PSvils <PSvils!~PDevelope@91.105.16.165> has joined ##C++-general
[07:51:39] *** PSvils <PSvils!~PDevelope@91.105.16.165> has quit IRC (Client Quit)
[08:00:12] *** TikityTik <TikityTik!~TikityTik@162.223.44.49> has quit IRC (Read error: Connection reset by peer)
[08:00:33] *** TikityTik <TikityTik!~TikityTik@162.223.44.49> has joined ##C++-general
[08:02:04] *** vdamewood <vdamewood!~vdamewood@unaffiliated/vdamewood> has joined ##C++-general
[08:04:13] *** npaperbot <npaperbot!~npaperbot@dodecahedron.m-ou.se> has quit IRC (Remote host closed the connection)
[08:04:22] *** npaperbot <npaperbot!~npaperbot@dodecahedron.m-ou.se> has joined ##C++-general
[08:05:21] *** jp <jp!ayy@cpe-76-173-133-37.hawaii.res.rr.com> has quit IRC (Quit: https://ptpb.pw/~docrivers.gif)
[08:06:21] *** AmR|EiSa <AmR|EiSa!~AmR@197.165.230.90> has joined ##C++-general
[08:12:34] <AmR|EiSa> How I can ask system to use some root command ?
[08:12:48] *** snyp_ <snyp_!~Snyp@103.56.236.165> has quit IRC (Quit: leaving)
[08:13:27] *** Gustavo6056 <Gustavo6056!~Gustavo60@unaffiliated/gustavo6046> has joined ##C++-general
[08:13:33] *** biberu <biberu!~biberu@193.150.203.9> has joined ##C++-general
[08:15:26] *** Gustavo6046 <Gustavo6046!~Gustavo60@unaffiliated/gustavo6046> has quit IRC (Ping timeout: 260 seconds)
[08:15:26] *** Gustavo6056 is now known as Gustavo6046
[08:17:47] *** xekz <xekz!~kexmex@unaffiliated/kexmex> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[08:17:58] *** BOKALDO <BOKALDO!~BOKALDO@46.109.207.176> has joined ##C++-general
[08:20:17] *** zak <zak!2d725657@gateway/web/freenode/ip.45.114.86.87> has joined ##C++-general
[08:21:45] *** JohnMS_WORK <JohnMS_WORK!~JohnMS_WO@host-193-59-178-3.gog.com> has joined ##C++-general
[08:22:02] *** immibis <immibis!~chatzilla@222-155-167-133-fibre.sparkbb.co.nz> has joined ##C++-general
[08:24:18] *** Betal <Betal!~Betal@unaffiliated/betal> has quit IRC (Remote host closed the connection)
[08:29:08] *** PSvils <PSvils!~PDevelope@83.243.92.42> has joined ##C++-general
[08:29:17] *** Timotheus_Canens <Timotheus_Canens!~tcanens@wikipedia/Tim-Song> has joined ##C++-general
[08:32:56] *** TC|busy <TC|busy!~tcanens@wikipedia/Tim-Song> has quit IRC (Ping timeout: 260 seconds)
[08:38:14] *** graphene <graphene!~graphene@46.101.134.251> has quit IRC (Remote host closed the connection)
[08:38:20] <Ingersol> RandomReader, please explain your answer about pointer incorrectness.
[08:38:29] <Ingersol> if stdcall modifier is used what can be wrong?
[08:38:33] <RandomReader> his paste is __cdecl
[08:38:50] <Ingersol> ah, paste. i didnt red it ;)
[08:39:02] *** asymptotically <asymptotically!~asymptoti@gateway/tor-sasl/asymptotically> has joined ##C++-general
[08:39:10] <Ingersol> thinks you said it about SO answers
[08:39:22] <RandomReader> yeah, I just realized that was ambiguous lol
[08:39:37] *** graphene <graphene!~graphene@46.101.134.251> has joined ##C++-general
[08:43:12] *** nshireTimeout <nshireTimeout!~nealshire@unaffiliated/nealshire> has quit IRC (Ping timeout: 244 seconds)
[08:44:58] *** XCE <XCE!~XCE@2601:646:8a01:4720:8ac:8d06:67ce:6e5b> has quit IRC (Quit: Leaving)
[08:45:11] <AmR|EiSa> How I can ask Linux system to use some root command ?
[08:48:35] <TinoDidriksen> Ask #linux ?
[08:50:03] *** vdamewood <vdamewood!~vdamewood@unaffiliated/vdamewood> has quit IRC (Quit: Textual IRC Client: www.textualapp.com)
[08:52:13] *** lh_mouse <lh_mouse!~lh_mouse@unaffiliated/lh-mouse/x-3986007> has joined ##C++-general
[08:59:49] *** Noti <Noti!~steffan@ip4da40774.direct-adsl.nl> has joined ##C++-general
[09:07:15] *** artzel <artzel!~4rtzel@86.57.255.92> has joined ##C++-general
[09:11:52] *** TikityTik <TikityTik!~TikityTik@162.223.44.49> has quit IRC (Read error: Connection reset by peer)
[09:12:06] *** tomboy64 <tomboy64!~tomboy64@gateway/tor-sasl/tomboy64> has quit IRC (Remote host closed the connection)
[09:13:27] *** tomboy64 <tomboy64!~tomboy64@gateway/tor-sasl/tomboy64> has joined ##C++-general
[09:13:45] *** Gustavo6056 <Gustavo6056!~Gustavo60@unaffiliated/gustavo6046> has joined ##C++-general
[09:15:49] *** genr8__ <genr8__!~genr8_@unaffiliated/genbtc> has joined ##C++-general
[09:15:53] *** Gustavo6046 <Gustavo6046!~Gustavo60@unaffiliated/gustavo6046> has quit IRC (Ping timeout: 245 seconds)
[09:15:53] *** Gustavo6056 is now known as Gustavo6046
[09:17:07] *** Jester2 <Jester2!~jester2@znc.epiphyte.network> has quit IRC (Quit: ZNC - https://znc.in)
[09:17:33] *** umpc <umpc!~umpc@unaffiliated/umpc> has quit IRC (Ping timeout: 245 seconds)
[09:18:51] *** genr8_ <genr8_!~genr8_@unaffiliated/genbtc> has quit IRC (Ping timeout: 244 seconds)
[09:19:14] *** limbo_ <limbo_!ar@45.63.9.236> has quit IRC (Ping timeout: 272 seconds)
[09:19:16] *** umpc <umpc!~umpc@unaffiliated/umpc> has joined ##C++-general
[09:20:12] *** limbo_ <limbo_!ar@45.63.9.236> has joined ##C++-general
[09:21:34] *** Jester2 <Jester2!~jester2@znc.epiphyte.network> has joined ##C++-general
[09:23:21] *** Clouder <Clouder!~0x@unaffiliated/cloudish> has quit IRC (Ping timeout: 252 seconds)
[09:27:19] *** genr8_ <genr8_!~genr8_@unaffiliated/genbtc> has joined ##C++-general
[09:27:48] *** Jester2 <Jester2!~jester2@znc.epiphyte.network> has quit IRC (Quit: ZNC - https://znc.in)
[09:28:21] *** umpc <umpc!~umpc@unaffiliated/umpc> has quit IRC (Ping timeout: 260 seconds)
[09:29:03] *** Clouder <Clouder!~0x@unaffiliated/cloudish> has joined ##C++-general
[09:29:45] *** umpc <umpc!~umpc@unaffiliated/umpc> has joined ##C++-general
[09:30:22] *** genr8__ <genr8__!~genr8_@unaffiliated/genbtc> has quit IRC (Ping timeout: 246 seconds)
[09:31:37] *** jp <jp!ayy@opsec.dog> has joined ##C++-general
[09:35:27] *** V-ille <V-ille!~vivoutil@207.170.229.108> has joined ##C++-general
[09:39:00] *** Jester2 <Jester2!~jester2@znc.epiphyte.network> has joined ##C++-general
[09:59:21] *** Tachyon_ <Tachyon_!~Tachyon_@89.137.141.47> has joined ##C++-general
[10:00:43] *** Noti <Noti!~steffan@ip4da40774.direct-adsl.nl> has quit IRC (Quit: Konversation terminated!)
[10:04:06] *** grouse <grouse!~grouse@83-233-9-2.cust.bredband2.com> has joined ##C++-general
[10:09:59] *** zwf <zwf!~Thunderbi@modemcable194.150-161-184.mc.videotron.ca> has quit IRC (Read error: Connection reset by peer)
[10:10:30] *** zwf <zwf!~Thunderbi@modemcable194.150-161-184.mc.videotron.ca> has joined ##C++-general
[10:13:00] *** manimax3 <manimax3!~manimax3@2a02:810d:a80:2d74:5c8c:2838:21c5:5b96> has joined ##C++-general
[10:13:54] *** Gustavo6056 <Gustavo6056!~Gustavo60@unaffiliated/gustavo6046> has joined ##C++-general
[10:13:59] *** manimax3 <manimax3!~manimax3@2a02:810d:a80:2d74:5c8c:2838:21c5:5b96> has quit IRC (Client Quit)
[10:15:10] *** Tachyon_ <Tachyon_!~Tachyon_@89.137.141.47> has quit IRC (Ping timeout: 246 seconds)
[10:16:14] *** Gustavo6046 <Gustavo6046!~Gustavo60@unaffiliated/gustavo6046> has quit IRC (Ping timeout: 272 seconds)
[10:16:15] *** Gustavo6056 is now known as Gustavo6046
[10:17:26] *** Tachyon_ <Tachyon_!~Tachyon_@89.137.141.47> has joined ##C++-general
[10:32:19] *** genr8__ <genr8__!~genr8_@unaffiliated/genbtc> has joined ##C++-general
[10:34:21] *** computer2000 <computer2000!~computer2@82.220.53.202> has joined ##C++-general
[10:35:20] *** Jester2 <Jester2!~jester2@znc.epiphyte.network> has quit IRC (Quit: ZNC - https://znc.in)
[10:35:27] *** genr8_ <genr8_!~genr8_@unaffiliated/genbtc> has quit IRC (Ping timeout: 240 seconds)
[10:36:19] *** genr8_ <genr8_!~genr8_@unaffiliated/genbtc> has joined ##C++-general
[10:36:31] *** velco <velco!chill@nat/arm/x-fsyjgeglejvwpsdk> has joined ##C++-general
[10:37:24] *** Clouder <Clouder!~0x@unaffiliated/cloudish> has quit IRC (Ping timeout: 252 seconds)
[10:37:46] *** zxrf <zxrf!~zxrf@2001:19f0:5:6100:5400:1ff:fe9f:b8c6> has quit IRC (Ping timeout: 260 seconds)
[10:38:49] *** Clouder <Clouder!~0x@unaffiliated/cloudish> has joined ##C++-general
[10:39:02] *** genr8__ <genr8__!~genr8_@unaffiliated/genbtc> has quit IRC (Ping timeout: 272 seconds)
[10:39:09] *** zxrf <zxrf!~zxrf@2001:19f0:5:6100:5400:1ff:fe9f:b8c6> has joined ##C++-general
[10:44:00] *** limbo_ <limbo_!ar@45.63.9.236> has quit IRC (Ping timeout: 252 seconds)
[10:45:21] *** Stanley00 <Stanley00!71a1490e@gateway/web/freenode/ip.113.161.73.14> has quit IRC (Ping timeout: 256 seconds)
[10:47:13] *** AmR|EiSa <AmR|EiSa!~AmR@197.165.230.90> has quit IRC (Quit: Konversation terminated!)
[10:48:31] *** ZaraFrax <ZaraFrax!~ZaraFrax@p200300D73BC78300144D2A6ED106B2DB.dip0.t-ipconnect.de> has joined ##C++-general
[10:49:26] *** umpc <umpc!~umpc@unaffiliated/umpc> has quit IRC (Ping timeout: 260 seconds)
[10:49:45] *** graphene <graphene!~graphene@46.101.134.251> has quit IRC (Remote host closed the connection)
[10:50:15] *** Clouder <Clouder!~0x@unaffiliated/cloudish> has quit IRC (Ping timeout: 252 seconds)
[10:50:50] *** Clouder <Clouder!~0x@unaffiliated/cloudish> has joined ##C++-general
[10:50:53] *** umpc <umpc!~umpc@unaffiliated/umpc> has joined ##C++-general
[10:51:04] *** graphene <graphene!~graphene@46.101.134.251> has joined ##C++-general
[10:51:31] *** Jester2 <Jester2!~jester2@znc.epiphyte.network> has joined ##C++-general
[10:52:30] *** limbo_ <limbo_!ar@45.63.9.236> has joined ##C++-general
[10:55:59] *** matkatmusic <matkatmusic!~matkatmus@75.142.108.70> has quit IRC (Ping timeout: 244 seconds)
[10:56:16] *** toytoy <toytoy!~toytoy@unaffiliated/t0yt0y> has joined ##C++-general
[11:02:59] *** Stanley00 <Stanley00!~Stanley00@unaffiliated/stanley00> has joined ##C++-general
[11:11:16] *** AmR|EiSa <AmR|EiSa!~AmR@105.199.97.243> has joined ##C++-general
[11:13:55] *** Gustavo6056 <Gustavo6056!~Gustavo60@unaffiliated/gustavo6046> has joined ##C++-general
[11:15:54] *** Gustavo6046 <Gustavo6046!~Gustavo60@unaffiliated/gustavo6046> has quit IRC (Ping timeout: 252 seconds)
[11:15:54] *** Gustavo6056 is now known as Gustavo6046
[11:19:13] *** Tachyon_ <Tachyon_!~Tachyon_@89.137.141.47> has quit IRC (Ping timeout: 245 seconds)
[11:23:36] *** Gvidon <Gvidon!~gvidon@unaffiliated/gvidon> has joined ##C++-general
[11:25:59] *** mike11 <mike11!~Mike@unaffiliated/mike11> has joined ##C++-general
[11:35:19] *** AmR|EiSa <AmR|EiSa!~AmR@105.199.97.243> has quit IRC (Remote host closed the connection)
[11:35:53] *** AmR|EiSa <AmR|EiSa!~AmR@105.199.97.243> has joined ##C++-general
[11:37:18] *** forgottenone <forgottenone!~forgotten@217.131.94.123> has quit IRC (Ping timeout: 272 seconds)
[11:42:50] *** AmR|EiSa <AmR|EiSa!~AmR@105.199.97.243> has quit IRC (Ping timeout: 252 seconds)
[11:58:23] *** zak <zak!2d725657@gateway/web/freenode/ip.45.114.86.87> has quit IRC (Quit: Page closed)
[11:58:56] *** zak <zak!2d725657@gateway/web/freenode/ip.45.114.86.87> has joined ##C++-general
[12:03:21] *** matkatmusic <matkatmusic!~matkatmus@75.142.108.70> has joined ##C++-general
[12:04:14] *** npaperbot <npaperbot!~npaperbot@dodecahedron.m-ou.se> has quit IRC (Remote host closed the connection)
[12:04:23] *** npaperbot <npaperbot!~npaperbot@dodecahedron.m-ou.se> has joined ##C++-general
[12:06:53] *** jan64_ <jan64_!~jan64@79.184.156.77.ipv4.supernova.orange.pl> has joined ##C++-general
[12:10:00] *** jan64_ <jan64_!~jan64@79.184.156.77.ipv4.supernova.orange.pl> has quit IRC (Read error: Connection reset by peer)
[12:11:12] *** PSvils <PSvils!~PDevelope@83.243.92.42> has quit IRC (Disconnected by services)
[12:11:25] *** PSvils <PSvils!~PDevelope@91.105.16.165> has joined ##C++-general
[12:14:01] *** Gustavo6056 <Gustavo6056!~Gustavo60@unaffiliated/gustavo6046> has joined ##C++-general
[12:14:54] *** Noti <Noti!~steffan@ip4da40774.direct-adsl.nl> has joined ##C++-general
[12:17:29] *** Gustavo6046 <Gustavo6046!~Gustavo60@unaffiliated/gustavo6046> has quit IRC (Ping timeout: 252 seconds)
[12:17:30] *** Gustavo6056 is now known as Gustavo6046
[12:19:07] *** asymptotically <asymptotically!~asymptoti@gateway/tor-sasl/asymptotically> has quit IRC (Quit: Leaving)
[12:32:00] *** Ingersol <Ingersol!~Ingersol@host-static-93-116-234-146.moldtelecom.md> has quit IRC (Ping timeout: 252 seconds)
[12:33:44] *** zap0 <zap0!~zap0@14-201-222-143.tpgi.com.au> has joined ##C++-general
[12:34:25] *** Carbonflux <Carbonflux!~Carbonflu@c-24-56-228-141.customer.broadstripe.net> has quit IRC (Quit: Sleep is Food...)
[12:43:55] *** HumanGeek <HumanGeek!~HumanG33k@62.147.242.8> has quit IRC (Ping timeout: 246 seconds)
[12:45:45] *** HumanG33k <HumanG33k!~HumanG33k@62.147.242.8> has joined ##C++-general
[12:51:34] *** Karyon <Karyon!~Karyon@unaffiliated/karyon> has joined ##C++-general
[12:57:22] *** manuelschneid3r <manuelschneid3r!~manuelsch@p200300E243D73600A55E645AE091428B.dip0.t-ipconnect.de> has joined ##C++-general
[12:57:51] *** Qulu <Qulu!~Qulu@85.132.117.71> has joined ##C++-general
[12:59:24] *** velco <velco!chill@nat/arm/x-fsyjgeglejvwpsdk> has quit IRC (Read error: No route to host)
[13:04:38] *** artzel <artzel!~4rtzel@86.57.255.92> has quit IRC (Read error: Connection reset by peer)
[13:04:54] *** Atque <Atque!~Atque@unaffiliated/atque> has joined ##C++-general
[13:05:08] *** artzel <artzel!~4rtzel@86.57.255.90> has joined ##C++-general
[13:11:06] <mike11> is there anyway to call libc++ functions directly? e.g. __cxa_guard_lock
[13:11:23] <mike11> sorry __cxa_guard_acquire 
[13:13:09] <mike11> or __cxa_throw
[13:13:48] <mike11> The linker complains about an undefined reference when I try to do so
[13:13:53] *** Gustavo6056 <Gustavo6056!~Gustavo60@unaffiliated/gustavo6046> has joined ##C++-general
[13:14:01] *** jan64 <jan64!~jan64@79.184.156.77.ipv4.supernova.orange.pl> has quit IRC (Ping timeout: 246 seconds)
[13:15:51] *** Gustavo6046 <Gustavo6046!~Gustavo60@unaffiliated/gustavo6046> has quit IRC (Ping timeout: 260 seconds)
[13:15:51] *** Gustavo6056 is now known as Gustavo6046
[13:16:31] *** jan64 <jan64!~jan64@79.184.156.77.ipv4.supernova.orange.pl> has joined ##C++-general
[13:18:02] <Gvidon> mike11: You shouldn't normally feel the need to do that. What problem are you trying to solve?
[13:19:20] *** pulse <pulse!~pulse@unaffiliated/pulse> has joined ##C++-general
[13:24:16] <mike11> Gvidon: I just want to try that (for educational purposes only). I want to try some inputs and see how these functions act when called directly
[13:26:55] *** mike11 <mike11!~Mike@unaffiliated/mike11> has quit IRC (Quit: Leaving.)
[13:27:19] *** mike11 <mike11!~androirc@unaffiliated/mike11> has joined ##C++-general
[13:29:40] <Gvidon> mike11: Works for me. I just called it like this: "__cxxabiv1::__cxa_guard_acquire(&guard)". No linking problems.
[13:34:05] *** Atque <Atque!~Atque@unaffiliated/atque> has quit IRC (Quit: ...)
[13:35:16] <mike11> Gvidon oh stupid me, i forgot the namespace :)
[13:35:26] <Gvidon> :)
[13:35:29] *** Leovale <Leovale!~Leovale@CPE9050cac01073-CM9050cac01070.cpe.net.cable.rogers.com> has joined ##C++-general
[13:35:35] <mike11> thanks
[13:35:42] <Gvidon> No problem
[13:35:55] *** mike11 <mike11!~androirc@unaffiliated/mike11> has quit IRC (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com ))
[13:37:09] *** Stanley00 <Stanley00!~Stanley00@unaffiliated/stanley00> has left ##C++-general ("Leaving")
[13:49:41] *** immibis <immibis!~chatzilla@222-155-167-133-fibre.sparkbb.co.nz> has quit IRC (Ping timeout: 260 seconds)
[13:50:25] *** Qulu <Qulu!~Qulu@85.132.117.71> has quit IRC (Quit: Leaving)
[14:04:45] *** velco <velco!chill@nat/arm/x-glvquvpxsmahyqxh> has joined ##C++-general
[14:13:46] *** graphene <graphene!~graphene@46.101.134.251> has quit IRC (Remote host closed the connection)
[14:14:27] *** Gustavo6056 <Gustavo6056!~Gustavo60@unaffiliated/gustavo6046> has joined ##C++-general
[14:15:05] *** graphene <graphene!~graphene@46.101.134.251> has joined ##C++-general
[14:15:56] *** Gustavo6046 <Gustavo6046!~Gustavo60@unaffiliated/gustavo6046> has quit IRC (Ping timeout: 244 seconds)
[14:15:56] *** Gustavo6056 is now known as Gustavo6046
[14:19:14] *** Noti <Noti!~steffan@ip4da40774.direct-adsl.nl> has quit IRC (Quit: Konversation terminated!)
[14:24:13] *** ZaraFrax <ZaraFrax!~ZaraFrax@p200300D73BC78300144D2A6ED106B2DB.dip0.t-ipconnect.de> has quit IRC (Quit: Leaving)
[14:31:01] *** toytoy <toytoy!~toytoy@unaffiliated/t0yt0y> has quit IRC (Quit: toytoy)
[14:35:26] *** batman_nair <batman_nair!~batman_na@111.92.73.90> has joined ##C++-general
[14:36:42] *** Stanley00 <Stanley00!~Stanley00@unaffiliated/stanley00> has joined ##C++-general
[14:44:28] *** zak <zak!2d725657@gateway/web/freenode/ip.45.114.86.87> has quit IRC (Quit: Page closed)
[14:47:28] *** velco <velco!chill@nat/arm/x-glvquvpxsmahyqxh> has quit IRC (Quit: Leaving)
[14:55:51] *** AmR|EiSa <AmR|EiSa!~AmR@196.141.71.14> has joined ##C++-general
[15:05:00] *** jokoon <jokoon!~jokoon@2a01:e35:2e1b:a840:1cf0:e9a0:7645:2a3e> has joined ##C++-general
[15:10:21] *** Stanley00 <Stanley00!~Stanley00@unaffiliated/stanley00> has quit IRC (Quit: Quit)
[15:14:35] *** Gustavo6056 <Gustavo6056!~Gustavo60@unaffiliated/gustavo6046> has joined ##C++-general
[15:16:18] *** Gustavo6046 <Gustavo6046!~Gustavo60@unaffiliated/gustavo6046> has quit IRC (Ping timeout: 245 seconds)
[15:16:18] *** Gustavo6056 is now known as Gustavo6046
[15:22:24] *** mitch0 <mitch0!~mitch@94-21-225-63.pool.digikabel.hu> has quit IRC (Read error: Connection reset by peer)
[15:23:10] *** mitch0 <mitch0!~mitch@94-21-225-63.pool.digikabel.hu> has joined ##C++-general
[15:23:35] *** yates <yates!~user@rrcs-96-10-234-158.midsouth.biz.rr.com> has quit IRC (Remote host closed the connection)
[15:32:23] *** Mike11 <Mike11!~Mike@unaffiliated/mike11> has joined ##C++-general
[15:36:29] *** stormy_lodestar_ <stormy_lodestar_!uid156583@gateway/web/irccloud.com/x-wfnpgvprhnaemyyd> has joined ##C++-general
[15:44:24] <stormy_lodestar_> Is there a template I could use that would eliminate the need for calling the constructor of my inherited class? https://www.irccloud.com/pastebin/MoijssPi/inheritableLogger.h
[15:45:47] *** irrenhaus3 <irrenhaus3!~xenon@ip-37-201-4-201.hsi13.unitymediagroup.de> has joined ##C++-general
[15:46:36] <Gvidon> The first one can be removed without any problems. The default constructor of the parent class will be called implicitly
[15:47:25] <s_frit> stormy_lodestar_: using inheritance in that situation doesn't look right to me. you should be using a logger by composition
[15:48:36] <stormy_lodestar_> I suppose so
[15:49:20] <stormy_lodestar_> IDK the implementation of this `inheritableLogger` thing has #ifdef directives that make it nice to work with
[15:50:03] <stormy_lodestar_> and composition would require *iLogger passthrough all the same.
[15:50:46] <stormy_lodestar_> I should honestly just be using log4c
[15:52:20] *** mitch0 <mitch0!~mitch@94-21-225-63.pool.digikabel.hu> has quit IRC (Read error: Connection reset by peer)
[15:52:48] *** mitch0 <mitch0!~mitch@94-21-225-63.pool.digikabel.hu> has joined ##C++-general
[15:52:50] <stormy_lodestar_> & macros would probably work better than template magic
[15:53:34] *** velco <velco!chill@nat/arm/x-tweaxerxgvikjtoe> has joined ##C++-general
[15:55:54] *** AbleBacon <AbleBacon!~AbleBacon@unaffiliated/ablebacon> has joined ##C++-general
[15:58:28] *** JohnMS_WORK <JohnMS_WORK!~JohnMS_WO@host-193-59-178-3.gog.com> has quit IRC (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
[15:59:14] *** csknk <csknk!~csknk@unaffiliated/csknk> has joined ##C++-general
[16:04:14] *** npaperbot <npaperbot!~npaperbot@dodecahedron.m-ou.se> has quit IRC (Remote host closed the connection)
[16:04:25] *** npaperbot <npaperbot!~npaperbot@dodecahedron.m-ou.se> has joined ##C++-general
[16:06:57] *** fairuz <fairuz!~textual@unaffiliated/fairuz> has joined ##C++-general
[16:07:08] *** fairuz <fairuz!~textual@unaffiliated/fairuz> has quit IRC (Client Quit)
[16:07:25] *** fairuz <fairuz!~textual@unaffiliated/fairuz> has joined ##C++-general
[16:12:54] *** gehn <gehn!gehn@gateway/vpn/privateinternetaccess/gehn> has joined ##C++-general
[16:14:45] *** Gustavo6056 <Gustavo6056!~Gustavo60@unaffiliated/gustavo6046> has joined ##C++-general
[16:17:50] *** Gustavo6046 <Gustavo6046!~Gustavo60@unaffiliated/gustavo6046> has quit IRC (Ping timeout: 252 seconds)
[16:17:51] *** Gustavo6056 is now known as Gustavo6046
[16:22:03] *** mitch0 <mitch0!~mitch@94-21-225-63.pool.digikabel.hu> has quit IRC (Read error: Connection reset by peer)
[16:22:25] *** mitch0 <mitch0!~mitch@94-21-225-63.pool.digikabel.hu> has joined ##C++-general
[16:23:08] *** gareppa <gareppa!~gareppa@unaffiliated/gareppa> has joined ##C++-general
[16:23:28] *** rafalcpp <rafalcpp!~racalcppp@84-10-11-234.static.chello.pl> has joined ##C++-general
[16:24:27] *** gareppa <gareppa!~gareppa@unaffiliated/gareppa> has quit IRC (Remote host closed the connection)
[16:27:29] *** chaosfisch <chaosfisch!~chaosfisc@2001:a61:3598:9200:e03e:5526:8d0a:f713> has joined ##C++-general
[16:27:32] *** scampbell <scampbell!~scampbell@mail.scampbell.net> has joined ##C++-general
[16:27:37] *** chaosfisch <chaosfisch!~chaosfisc@2001:a61:3598:9200:e03e:5526:8d0a:f713> has left ##C++-general
[16:27:50] *** xissburg <xissburg!~xissburg@unaffiliated/xissburg> has joined ##C++-general
[16:28:41] *** TheSchaf <TheSchaf!~TheSchaf@unaffiliated/theschaf> has joined ##C++-general
top

   September 24, 2018
< | 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