Switch to DuckDuckGo Search
   February 18, 2020
< | 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

Toggle Join/Part | bottom
[00:02:04] *** symm- <symm-!~symm-@p5B1738DE.dip0.t-ipconnect.de> has joined ##C++-general
[00:02:50] *** hero100 <hero100!~hero100@27.38.236.22> has quit IRC (Ping timeout: 240 seconds)
[00:05:03] *** plastico <plastico!~plastico@2001:8a0:de6b:1a00:9d14:766e:70a8:dcea> has quit IRC (Quit: WeeChat 2.7)
[00:09:05] <thenori> @DougieBot5000, could you possibly explain the significance of (char**) and (char *)? I've been sticking my nose to the grindstone, but I haven't properly understood or addressed that element of the code.
[00:09:45] *** cssko <cssko!~cssko@cpe-184-54-112-145.swo.res.rr.com> has joined ##C++-general
[00:10:02] <DougieBot5000> !basics
[00:10:05] <nolyc> Books, references, tutorials, for all levels of learning: http://isocpp.org/get-started ; https://isocpp.org/faq ; http://learncpp.com/ ; http://stackoverflow.com/q/388242 ; https://github.com/isocpp/CppCoreGuidelines ; http://cppreference.com/
[00:11:24] <RandomReader> what language(s) are you coming from?
[00:11:45] <thenori> What specific elements are being represented by those combinations of symbols? I don't know where to look in the documentation for it since the symbols are so simple.
[00:12:31] *** mescalinum <mescalinum!~m@unaffiliated/mescalinum> has quit IRC (Ping timeout: 272 seconds)
[00:12:31] *** josef__k <josef__k!~jeremy@119-18-3-195.771203.syd.nbn.aussiebb.net> has quit IRC (Ping timeout: 260 seconds)
[00:12:32] <DougieBot5000> http://www.cplusplus.com/doc/tutorial/pointers/
[00:12:40] <thenori> like, when it references the XPM file it prefixes the reference with (char**) and then later when it calls the icon() function it precedes the pixmap with (char *)
[00:13:00] <RandomReader> C++ is a very context-dependent language, meaning symbols mean different things in different situations .. if it's about the line you posted earlier, then types, pointers, and casts
[00:13:18] <thenori> I know a little Rust, mostly Ruby, Python, and Lisp.
[00:13:26] *** cssko <cssko!~cssko@cpe-184-54-112-145.swo.res.rr.com> has quit IRC (Client Quit)
[00:13:42] <RandomReader> ah .. yeah, learning C++ is not going to be like learning any of those
[00:13:49] <thenori> Well, a bit like Rust.
[00:14:09] <RandomReader> it's generally not something that's readily picked up on the fly, especially with so many changing meanings for symbols
[00:14:15] <RandomReader> no, Rust is a lot more coherent to get started with
[00:14:15] <thenori> So the asterisk is called the dereference operator. What's the double asterisk?
[00:14:35] <RandomReader> what you posted is unlikely to be a dereference operator context, for example
[00:15:55] <thenori> I understand that the asterisk in "((char *)p)" means "copy"
[00:15:56] <RandomReader> as in, * is not always a unary operator, we're back to the whole "means different things in different contexts"
[00:16:08] <RandomReader> no, that would be a cast to a specific type
[00:16:28] <Alipha> You're casting p to be type "pointer to char"
[00:17:10] <thenori> But char doesn't mean a single character like it does in Rust, it refers in this case to a pixmap file.
[00:17:10] <Alipha> char** is type "pointer to pointer to char"
[00:17:25] <RandomReader> the most efficient way for most people to pick up C++ is with a ground-up introduction from basics to how those things are combined, using long form explanations .. which generally means books and a lot of time
[00:18:02] <Alipha> Yes, a char is a single character. But if you have a pointer to one char, you can access adjacent chars easily
[00:18:14] <thenori> Oh! I know how that works.
[00:18:23] <RandomReader> to really understand what that is doing and why, you need to understand the C++ type system, pointers, casting, and then find an explanation for why that cast could possibly be appropriate in that context, which also requires an understanding of some data rules and old compatibility arcana involving C
[00:18:29] *** mescalinum <mescalinum!~m@unaffiliated/mescalinum> has joined ##C++-general
[00:18:54] <thenori> I'm normally always starting from the ground up, but this issue seemed so trivial that I ended up right in the thick of it.
[00:19:05] <RandomReader> you may not feel the need to go that far for what you're doing, and I don't mean this to be discouraging or anything .. that's just how deep this sort of thing goes
[00:19:20] <thenori> Oh I appreciate your honest assessment of the depth of the topic at hand.
[00:20:29] <RandomReader> that also doesn't look like particularly good code (by current standards), which doesn't help either :(
[00:20:50] <DougieBot5000> thenori: as stated above, the (char *) in "((char *)p)" is almost certainly incorrect (and the source of the bug you are trying to fix). FL_Window::icon() expects a pointer to an FL_RGB_Image and not a pointer to a pixmap OR to a sequence of pixels sotred as characters.
[00:21:01] <thenori> OH HELL YEAH
[00:21:05] <thenori> So like
[00:21:30] <thenori> in the example code I'm reading, I see depixmap = (Fl_Pixmap *)pixmap->copy();
[00:21:48] <thenori> That's a type casting
[00:22:34] *** josef__k <josef__k!~jeremy@119-18-3-195.771203.syd.nbn.aussiebb.net> has joined ##C++-general
[00:22:47] <RandomReader> it's taking the result of copy() and casting it, yes
[00:23:15] <thenori> You don't need to cast the type if you just declared it, right?
[00:23:58] <RandomReader> ...seeing that and combined with the comments from others, this code may just be .. doing anything useful by accident
[00:24:10] <RandomReader> the casting is a code smell yes
[00:24:18] <thenori> Oh there's some enormous bugs in this code
[00:24:43] <thenori> I'm tidying up a corner of someone else's very messy room
[00:25:17] <thenori> 1595 Fl_Pixmap *pixmap = new Fl_Pixmap((char**)zynaddsubfx_xpm); 1596 Fl_RGB_Image *p = new Fl_RGB_Image(pixmap, bg = FL_GRAY); 1597 masterwindow->icon(p);
[00:26:34] <thenori> I'm missing something, though. I don't understand parts of "Fl_Pixmap (char *const *D)"
[00:27:17] <thenori> What is *D?
[00:28:12] *** nulleip <nulleip!~luiz@179.215.126.112> has left ##C++-general
[00:29:49] <thenori> hmm. I don't think it's strictly necessary since I've gotten the code sample from the FLTK package.
[00:30:27] <DougieBot5000> Pointer to const-pointer to char, if I am unwinding that const correctly
[00:31:16] <thenori> huh. okay. understood.
[00:33:30] <thenori> Do the three lines I've posted look bereft of obvious issues?
[00:35:09] <DougieBot5000> Without knowing more about zynaddsubfx_xpm, where it came from, what it contains, and if the format is compatible with what the FL_Pixmap constructor expects, it is hard to say
[00:35:26] <thenori> The format is definitely compatible with FL_Pixmap
[00:35:29] <thenori> I checked that part.
[00:35:47] <RandomReader> 1596 looks suspect, C++ does not have named argument passing
[00:35:47] <DougieBot5000> Is your image grayscale? Because you are telling it use FL_GRAY
[00:36:01] <DougieBot5000> I guess the test would be to see if the icon appears now
[00:36:23] <thenori> zynaddsubfx_xpm is a valid XPM file and it's used correctly with the Fl_Pixmap
[00:37:01] <DougieBot5000> zynaddsubfx_xpm is a variable, not an XPM file, and there are multiple ways the same file might be stored in memory
[00:38:02] <thenori> static const char *zynaddsubfx_xpm[] = {
[00:40:27] <DougieBot5000> Also this line throws up some red flags for me: Fl_Pixmap *pixmap = new Fl_Pixmap((char**)zynaddsubfx_xpm);
[00:40:45] <thenori> What are the red flags specifically?
[00:41:15] <g0> many people learn programming topdown. There's a book that tells you about print("Hello world") and loops and so on, but never mentions automatons, stack machines, Turing machines...(that's the bottom-up approach).
[00:41:25] <g0> C and C++ however are best learned by starting from a Turing machine.
[00:41:39] *** hurfdurf <hurfdurf!~hurfdurf@c-24-8-165-202.hsd1.co.comcast.net> has quit IRC (Ping timeout: 272 seconds)
[00:41:54] <thenori> Fl_Pixmap *pixmap = new Fl_Pixmap(porsche_xpm);
[00:41:59] *** interop_madness <interop_madness!~interop_m@unaffiliated/interop-madness/x-8858653> has joined ##C++-general
[00:42:07] <thenori> This is a valid function call for FL_Pixmap taken from their example code
[00:42:23] <RandomReader> I was referring to learning the language, not programming concepts
[00:43:12] <g0> Just saying; "pointer to char" means so little (and meant little to me) in the beginning if one does not have the "assembler mindset".
[00:43:19] *** ambro718 <ambro718!~ambro@unaffiliated/ambro718> has quit IRC (Ping timeout: 260 seconds)
[00:43:34] <thenori> porsche_xpm is static const char * porsche_xpm[] =
[00:43:48] <RandomReader> it's the concept of a location of a char object, you don't need to think in "everything's a number" assembly terms to grasp that
[00:43:50] <thenori> I know what a pointer to char is
[00:44:42] <RandomReader> fine with people using whatever learning technique works best for them to get to the end point, but there's no inherent relationship between the two things there
[00:45:27] <thenori> I know what the heap and the stack are, I pretty much know the structure and interpretation of computer programs in the general sense
[00:45:32] <RandomReader> (the syntax C and C++ use absolutely gets in the way though)
[00:46:02] *** mescalinum <mescalinum!~m@unaffiliated/mescalinum> has quit IRC (Ping timeout: 240 seconds)
[00:46:09] <thenori> Water's coming in through my nose but I'm not in over my head
[00:47:56] <g0> water or something else, I don't think the analogy to a mucus flow seems .. fitting
[00:48:14] <thenori> Fl_Pixmap (char *const *D)
[00:48:37] <RandomReader> that's a declaration of the function, right?
[00:48:39] <thenori> Mispaste sorry. It's not referring to mucus flow, it's talking about sink or swim
[00:48:46] <thenori> That's from the documentation
[00:48:52] <RandomReader> so it accepts a parameter named D, of type char * const *
[00:48:57] <g0> char-bam-bam. a string list in layman's terms
[00:49:38] <thenori> 1595 Fl_Pixmap *pixmap = new Fl_Pixmap(zynaddsubfx_xpm);
[00:49:39] <thenori> 1596 Fl_RGB_Image *p = new Fl_RGB_Image(pixmap, FL_GRAY);
[00:49:39] <thenori> 1597 masterwindow->icon(p);
[00:49:39] *** mescalinum <mescalinum!~m@unaffiliated/mescalinum> has joined ##C++-general
[00:49:51] <thenori> This is what I'm gonna build with
[00:50:39] *** Necktwi_ <Necktwi_!~necktwi@157.44.173.13> has joined ##C++-general
[00:50:50] *** interop_madness <interop_madness!~interop_m@unaffiliated/interop-madness/x-8858653> has quit IRC (Ping timeout: 240 seconds)
[00:51:20] <g0> hm kind of ironic Fl_RGB_Image does not get you an RGB image but a RGBA one
[00:51:43] <thenori> lol.
[00:53:02] *** gschwind <gschwind!~Benoit@2a01:e0a:466:9650:9072:9e39:26c2:fb92> has quit IRC (Quit: Leaving)
[00:53:52] *** Necktwi <Necktwi!~necktwi@157.44.178.74> has quit IRC (Ping timeout: 268 seconds)
[00:54:05] *** davr0s <davr0s!~davr0s@host62-172-90-254.range62-172.btcentralplus.com> has joined ##C++-general
[00:56:46] <g0> the next thing they're probably doing is importing grayscale images and giving it to you as YUV or CMYK
[00:57:13] <RandomReader> lol
[01:00:49] <thenori> I DID IT BOYS
[01:00:53] <thenori> PULL REQUEST
[01:01:14] <thenori> I have the biggest grin on my face omg
[01:04:58] *** ferdna <ferdna!~ferdna@cpe-69-23-148-218.elp.res.rr.com> has joined ##C++-general
[01:07:33] <causative> gj
[01:10:36] <thenori> THANK YOU ; _ ; and thank YOU Mister or Missus Dougie
[01:14:00] *** georgiePorgie <georgiePorgie!~george43g@120.158.182.109> has joined ##C++-general
[01:14:04] *** heiden <heiden!~paulo@177.3.183.35> has joined ##C++-general
[01:18:56] *** davr0s <davr0s!~davr0s@host62-172-90-254.range62-172.btcentralplus.com> has quit IRC (Quit: Ex-Chat)
[01:19:45] *** LunarJetman <LunarJetman!LunarJetma@176.25.69.69> has left ##C++-general
[01:23:32] <braph1> Can someone help me with this?: I want to create a wrapper around a container that just behaves like the wrapped container. At least it should behave like the original containers operator[], begin() and end(). The wrapper should hold a vector of indices to the original containers elements, so that i can do sort and remove operations on the wrapper without modifying the original container. My
[01:23:32] <braph1> question is: how do i implement the operator[] of that container? I cannot just return a reference to the originals container, as that may modify the underlying elements. I could return a reference object that handles the swapping, but that way i'm loosing the elements type... any Ideas?
[01:24:35] <braph1> Is that even possible?
[01:26:37] *** Forsaken87 <Forsaken87!~quassel@2a02:908:1860:bec0:c179:63c7:fe6c:8293> has quit IRC (Ping timeout: 272 seconds)
[01:26:52] *** jakehemm_ <jakehemm_!~jakehemme@68.235.43.94> has joined ##C++-general
[01:29:05] *** ferdna <ferdna!~ferdna@cpe-69-23-148-218.elp.res.rr.com> has quit IRC (Quit: Leaving)
[01:30:24] *** BurritoBazooka <BurritoBazooka!~Burrito@unaffiliated/burrito> has joined ##C++-general
[01:30:31] *** Burrito <Burrito!~Burrito@unaffiliated/burrito> has quit IRC (Read error: Connection reset by peer)
[01:30:43] *** BurritoBazooka is now known as Burrito
[01:32:57] *** mgrech <mgrech!~mgrech@62-46-199-140.adsl.highway.telekom.at> has quit IRC (Ping timeout: 272 seconds)
[01:36:07] *** heiden <heiden!~paulo@177.3.183.35> has quit IRC (Ping timeout: 272 seconds)
[01:37:34] <Oxyd> How could returning a reference into the underlying container modify the underlying elements?
[01:37:38] *** CrypticSquared <CrypticSquared!~CrypticS_@unaffiliated/crypticsquared> has quit IRC (Ping timeout: 240 seconds)
[01:38:33] <braph1> Sorry i didn't expressed it right: i meant returning a reference to the original containers element
[01:38:44] <Oxyd> That's what I said, yes.
[01:41:53] <braph1> Lets take std::vector<int>::operator[], it returns a reference to an int. When std::sort() is called, these integers are modified, right? If i create a container that just passes exactly that reference back, it will also be modified
[01:42:21] <Oxyd> Yes, but I thought the entire point of you container was that you wouldn't call std::sort on the underlying container.
[01:42:28] *** Meteorhead <Meteorhead!Meteorhead@gateway/vpn/protonvpn/meteorhead> has quit IRC (Read error: Connection reset by peer)
[01:42:28] *** CrypticSquared <CrypticSquared!~CrypticS_@unaffiliated/crypticsquared> has joined ##C++-general
[01:42:51] <Oxyd> I.e. you'd sort the vector of indices instead of the vector of elements.
[01:42:54] *** lapsang <lapsang!~g@gateway/tor-sasl/gaiwan> has joined ##C++-general
[01:43:09] <braph1> Right, i want to call std::sort() on the wrapper. Yeah, that's what i meant
[01:43:40] <Oxyd> Right, and op[] is irrelevant to std::sort.
[01:45:05] <Oxyd> The iterator type of your wrapper is another story. I'm not sure if you can make it do what you want by calling std::sort on the wrapper type. I'd probably just give the wrapper its own .sort() function, that'd call std::sort on the indices.
[01:46:37] <braph1> Well you are right, but im my case it is, as i created a general iterator template that makes anything iterable that provides operator[]. But the same problem comes along with begin() and end()
[01:46:55] <braph1> Oxyd yeah, currently im providing my own sort() function inside that wrapper. It calls sort() on the vector of indices with a lambda comparision function that resolves the index to the actual element
[01:50:48] *** snuffkins <snuffkins!~snuffkins@80.78.219.161> has joined ##C++-general
[01:53:56] <ARoxdale> Have you considered copying the array and sorting that instead?
[01:55:08] <Alipha> If your iterator's operator* returned a proxy object instead of a reference to the element, then you could detect that you're assigning a proxy object to another proxy element and then update the index instead of doing the assignment. Not sure if that would fall apart in practice
[01:55:09] <braph1> Well it's not about an array. Its about rows in a table structure
[01:55:16] <ARoxdale> braph1: For your original problem, I would recommend storing either indices into the original array, or else pointers.
[01:56:21] *** cahoots <cahoots!~cahoots@163.182.128.74> has joined ##C++-general
[01:56:33] *** wondows <wondows!be20eb08@gateway/web/cgi-irc/kiwiirc.com/ip.190.32.235.8> has quit IRC (Remote host closed the connection)
[01:57:32] <Alipha> I suppose that's what you initially said. "but that way I'm losing the element's type"... if you define an operator T (a conversion operator) that might be good enough
[01:57:38] <cahoots> hi, i'm having some issues with stack traces due to inlining. i can't disable libc++ inlining however, because it makes it a lot slower and also causes issues with stack traces. is there some way to tell my compiler (clang) not to inline my own functions, but to allow inlining of libc++ ones?
[01:58:28] <symm-> mark your functions __declspec(noinline)? (or the clang equivalent)
[01:58:57] <cahoots> symm-, is there anything that doesn't require marking per-function?
[01:59:17] <symm-> cahoots: can't think of anything
[01:59:23] <symm-> do you have a lot of functions?
[01:59:54] <symm-> __attribute__((noinline)) seems to be the one for clang
[02:00:09] <cahoots> yes, that's the one. and yes, it's a lot of functions
[02:00:33] <braph1> ARoxdale: storing pointers is not an option (i don't have any in my case). And if i would store the inidices in the original array i would just move the wrappers sort() function out of the wrapper class (that wouldn't exist then anyway)
[02:01:04] <symm-> it has to be per function, I'm afraid. sounds like an hour's work of tedious pasting
[02:01:05] <braph1> Alipha: I'll give that a try
[02:02:03] <cahoots> yeah, ah well. ty
[02:04:10] *** hero100_ <hero100_!~hero100@27.38.236.23> has joined ##C++-general
[02:04:55] *** josef__k <josef__k!~jeremy@119-18-3-195.771203.syd.nbn.aussiebb.net> has quit IRC ()
[02:06:10] *** flam <flam!~flam2212@118.189.141.51> has joined ##C++-general
[02:13:40] *** Burrito <Burrito!~Burrito@unaffiliated/burrito> has quit IRC (Read error: Connection reset by peer)
[02:14:41] *** jakehemm_ <jakehemm_!~jakehemme@68.235.43.94> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[02:16:57] *** ferdna <ferdna!~ferdna@cpe-69-23-148-218.elp.res.rr.com> has joined ##C++-general
[02:19:26] <RandomReader> maybe reconsider the need for stack traces, there might be a better way to get whatever information you're after
[02:24:43] <ARoxdale> braph1: Could you simpey have operator[] return a copy?
[02:24:47] <ARoxdale> simply
[02:33:14] *** hero100_ <hero100_!~hero100@27.38.236.23> has quit IRC (Ping timeout: 265 seconds)
[02:36:20] <braph1> ARoxdale: actually I'm doing this right now. I think my problem in not solveable in the way i want it to. The main problem is that my reference object has to behave differently in two cases: 1) A 'normal' access should modify the element behind the reference 2) Access through std::sort should modify the index inside the wrapper
[02:36:41] *** Nokurn <Nokurn!~Nokurn@cpe-108-185-62-246.socal.res.rr.com> has joined ##C++-general
[02:38:13] *** cahoots <cahoots!~cahoots@163.182.128.74> has quit IRC (Quit: leaving)
[02:42:24] *** Klox <Klox!~Klox@c-24-1-131-19.hsd1.il.comcast.net> has quit IRC (Ping timeout: 268 seconds)
[02:42:40] *** npaperbot <npaperbot!~npaperbot@dodecahedron.m-ou.se> has quit IRC (Remote host closed the connection)
[02:42:49] *** npaperbot <npaperbot!~npaperbot@dodecahedron.m-ou.se> has joined ##C++-general
[02:44:00] *** DrMax <DrMax!~DrMax@unaffiliated/drmax> has quit IRC (Remote host closed the connection)
[02:45:40] *** DrMax <DrMax!~DrMax@unaffiliated/drmax> has joined ##C++-general
[02:45:51] *** Jantz <Jantz!~IceChat9@118-93-142-216.dsl.dyn.ihug.co.nz> has quit IRC (Quit: We be chillin' - IceChat style)
[02:46:31] *** ARoxdale <ARoxdale!~AlanRoxda@80.233.59.1> has quit IRC (Ping timeout: 260 seconds)
[02:50:42] *** Jantz <Jantz!~IceChat9@118-93-142-216.dsl.dyn.ihug.co.nz> has joined ##C++-general
[02:53:48] *** Klox <Klox!~Klox@c-24-1-131-19.hsd1.il.comcast.net> has joined ##C++-general
[03:04:00] <braph1> What are your opinions on exploiting std::initializer_list as an array that carries it's size? https://wandbox.org/permlink/EGrj2XLNCNyKvnKc
[03:08:03] *** hero100 <hero100!~hero100@27.38.232.27> has joined ##C++-general
[03:09:26] *** rajrajraj <rajrajraj!uid72176@gateway/web/irccloud.com/x-giaxailjtejtvzav> has joined ##C++-general
[03:12:49] *** georgiePorgie <georgiePorgie!~george43g@120.158.182.109> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[03:19:24] *** snowkidimd <snowkidimd!~snowkidim@2405:9800:ba03:9767:fdf1:aaf0:272c:1a14> has joined ##C++-general
[03:22:54] *** lapsang is now known as covid-19
[03:23:02] *** covid-19 is now known as covid19
[03:27:10] <Alipha> braph1: why not std::array?
[03:27:25] <Alipha> Oh
[03:27:36] <Alipha> Hm, that's interesting
[03:28:02] *** covid19 is now known as lapsang
[03:31:27] *** davr0s <davr0s!~davrs@host109-149-130-28.range109-149.btcentralplus.com> has joined ##C++-general
[03:31:44] <braph1> Have a look at this: https://wandbox.org/permlink/LtpTg7sGUy2IwUJb I have 3 arrays of the same type, but with different lengths, all static. Depending on how many colors the terminal supports i want to use a specific array. Using a function template for std::array<N> would blow up the code size even more. cppreference.com says that the lifetime of the underlying array is unsure. I looked at
[03:31:46] <braph1> the implementation of std::initializer_list and it seems that it would work with static data...
[03:32:09] *** kitsunenokenja <kitsunenokenja!~kitsunech@68.91.220.96> has joined ##C++-general
[03:33:05] <braph1> std::initializer_list carryies a pointer to the array and the size... that should work...
[03:39:06] *** braph2 <braph2!~braph@x4d0c1e04.dyn.telefonica.de> has joined ##C++-general
[03:42:02] *** braph1 <braph1!~braph@x4db6230a.dyn.telefonica.de> has quit IRC (Ping timeout: 240 seconds)
[03:58:05] *** symm- <symm-!~symm-@p5B1738DE.dip0.t-ipconnect.de> has quit IRC (Quit: Leaving...)
[03:58:38] *** davr0s <davr0s!~davrs@host109-149-130-28.range109-149.btcentralplus.com> has quit IRC (Remote host closed the connection)
[04:03:03] *** lapsang <lapsang!~g@gateway/tor-sasl/gaiwan> has quit IRC (Ping timeout: 240 seconds)
[04:04:30] *** davr0s <davr0s!~davrs@host109-149-130-28.range109-149.btcentralplus.com> has joined ##C++-general
[04:05:10] *** lapsang <lapsang!~g@gateway/tor-sasl/gaiwan> has joined ##C++-general
[04:05:10] *** darkbit <darkbit!~rm@152.32.100.37> has quit IRC (Quit: WeeChat 2.7)
[04:06:50] *** mescalinum <mescalinum!~m@unaffiliated/mescalinum> has quit IRC (Ping timeout: 240 seconds)
[04:07:02] *** Sollg3r <Sollg3r!~startx@gateway/tor-sasl/sollg3r> has quit IRC (Quit: Leaving)
[04:08:08] *** davr0s <davr0s!~davrs@host109-149-130-28.range109-149.btcentralplus.com> has quit IRC (Remote host closed the connection)
[04:13:30] *** simpl_e <simpl_e!~user@unaffiliated/simpl-e/x-3049283> has quit IRC (Read error: Connection reset by peer)
[04:16:56] *** davr0s <davr0s!~davrs@host109-149-130-28.range109-149.btcentralplus.com> has joined ##C++-general
[04:19:30] *** davr0s <davr0s!~davrs@host109-149-130-28.range109-149.btcentralplus.com> has quit IRC (Remote host closed the connection)
[04:22:02] *** snuffkins <snuffkins!~snuffkins@80.78.219.161> has quit IRC (Ping timeout: 240 seconds)
[04:22:14] *** josef__k <josef__k!~jeremy@119-18-3-195.771203.syd.nbn.aussiebb.net> has joined ##C++-general
[04:25:02] <RandomReader> looking at the implementation of something in C++ isn't going to communicate anything about the standard guarantees, so that's not a useful approach in general .. but that usage is ok
[04:25:43] <RandomReader> what it intends to communicate is that the lifetime of the storage is tied to the originally created std::initializer_list
[04:26:30] <RandomReader> you can copy a std::initializer_list around, but as a "view type" that doesn't copy the storage
[04:26:44] <RandomReader> ...oh, not here, sigh
[04:26:52] <braph2> im here
[04:27:06] <RandomReader> ok
[04:27:14] <RandomReader> so anyway, yeah, having a bunch of static ones like that is fine
[04:27:39] <RandomReader> it'd take more thought if you were trying to use ones created during function calls and the like
[04:28:33] <braph2> and now I'm wondering how that std::initializer_list is implemented ... seems like G++ does something under the hood with that class ... std::initializer_list lacks operator[] but i don't get my custom intializer list working although its a plain copy of the original code :/
[04:28:56] <braph2> No, I just want to switch between static data
[04:29:37] <RandomReader> it's a bit of a maverick type in that it's prefixed by std::, requires a header to use, but can only be created by the compiler
[04:29:40] *** davr0s <davr0s!~davrs@host109-149-130-28.range109-149.btcentralplus.com> has joined ##C++-general
[04:32:14] *** scampbell <scampbell!~scampbell@mail.scampbell.net> has joined ##C++-general
[04:32:49] *** tm <tm!~sinnlos@unaffiliated/tm> has quit IRC (Ping timeout: 272 seconds)
[04:35:22] *** scampbell <scampbell!~scampbell@mail.scampbell.net> has quit IRC (Client Quit)
[04:36:16] <RandomReader> you could think of the initializer_list itself as just { const T* first; std::size_t count; }
[04:36:55] <RandomReader> the compiler magic is mostly around creating the array it points to, making that share the lifetime
[04:37:21] *** tm <tm!~sinnlos@unaffiliated/tm> has joined ##C++-general
[04:37:54] <RandomReader> it lacks operator[] but you can easily index off of .begin() due to the way it's specified, so il.begin()[n] is ugly but safe
[04:41:57] *** davr0s <davr0s!~davrs@host109-149-130-28.range109-149.btcentralplus.com> has quit IRC (Remote host closed the connection)
[04:43:45] *** hero100 <hero100!~hero100@27.38.232.27> has quit IRC (Remote host closed the connection)
[04:46:50] *** nolyc <nolyc!~supybot@www.projectiwear.org> has quit IRC (Ping timeout: 240 seconds)
[04:48:02] *** nolyc <nolyc!~supybot@www.projectiwear.org> has joined ##C++-general
[04:49:00] *** hero100 <hero100!~hero100@27.38.236.23> has joined ##C++-general
[04:49:06] <braph2> I'll give up on that array stuff ...
[04:49:12] *** Necktwi_ <Necktwi_!~necktwi@157.44.173.13> has quit IRC (Quit: leaving)
[04:49:50] *** crabskuttles_ <crabskuttles_!~crabskutt@mx-ll-223.204.248-15.dynamic.3bb.co.th> has joined ##C++-general
[04:49:50] *** crabskuttles <crabskuttles!~crabskutt@223.204.246.38> has quit IRC (Killed (adams.freenode.net (Nickname regained by services)))
[04:49:50] *** crabskuttles_ is now known as crabskuttles
[04:49:55] <RandomReader> riffing off your earlier example, you can do things like this: https://wandbox.org/permlink/HtSoc7SS94s2G4GZ
[04:50:57] <RandomReader> (foo is type std::initializer_list<std::initializer_list<int>> if that isn't clear)
[04:51:21] *** darnir <darnir!~darnir@static.246.192.201.138.clients.your-server.de> has quit IRC (Quit: ZNC - https://znc.in)
[04:51:25] <braph2> The problem is that i have a template that depends on T.size() and T[]. Well i could specialize it for std::initializer_list ...
[04:53:53] *** hero100 <hero100!~hero100@27.38.236.23> has quit IRC (Ping timeout: 265 seconds)
[04:53:59] *** Shikadi` <Shikadi`!~Shikadi@135.30.27.136.in-addr.arpa> has joined ##C++-general
[04:56:22] *** Lord_of_Life_ <Lord_of_Life_!~Lord@unaffiliated/lord-of-life/x-0885362> has joined ##C++-general
[04:56:38] *** ap4lmtree- <ap4lmtree-!ap4lmtree@unaffiliated/ap4lmtree> has joined ##C++-general
[04:56:46] <RandomReader> there is such a thing as a randomaccessiterator, if that would work for your template
[04:56:50] *** Lord_of_Life <Lord_of_Life!~Lord@unaffiliated/lord-of-life/x-0885362> has quit IRC (Ping timeout: 268 seconds)
[04:57:12] <RandomReader> .begin()[index] is not unique to std::initializer_list
[04:57:28] <RandomReader> it's generalized to "iterator type supports operator[]"
[04:57:43] *** Lord_of_Life_ is now known as Lord_of_Life
[04:58:09] *** ap4lmtree_ <ap4lmtree_!ap4lmtree@unaffiliated/ap4lmtree> has joined ##C++-general
[04:59:23] <RandomReader> you can test that on a container C with the type traits: is_same_v<iterator_traits<C::iterator>, random_access_iterator_tag>
[04:59:48] <RandomReader> uh, iterator_traits<C::iterator>::iterator_category
[05:00:08] <RandomReader> either sfinae or static_assert that in your template
[05:00:32] *** ap4lmtree <ap4lmtree!ap4lmtree@unaffiliated/ap4lmtree> has quit IRC (Ping timeout: 268 seconds)
[05:00:52] <braph2> I'm not at that point yet where I understand SFINAE :D
[05:01:10] <RandomReader> just static_assert at the beginning then, you'll get a reasonable message that way
[05:01:46] *** ap4lmtree- <ap4lmtree-!ap4lmtree@unaffiliated/ap4lmtree> has quit IRC (Ping timeout: 268 seconds)
[05:02:00] <RandomReader> technically you don't have to do the check at all, the entire purpose is just to "fail early" rather than getting the typical template error message mess
[05:03:36] *** davr0s <davr0s!~davrs@host109-149-130-28.range109-149.btcentralplus.com> has joined ##C++-general
[05:04:22] *** hero100 <hero100!~hero100@27.38.232.30> has joined ##C++-general
[05:04:56] <RandomReader> anyway, that approach should work for std::array and std::vector same as it does now, but also pick up std::initializer_list
[05:05:14] *** kitsunenokenja <kitsunenokenja!~kitsunech@68.91.220.96> has quit IRC (Ping timeout: 240 seconds)
[05:05:43] *** C2CNL <C2CNL!~C2CNL@unaffiliated/resco> has quit IRC (Ping timeout: 260 seconds)
[05:06:58] *** davr0s <davr0s!~davrs@host109-149-130-28.range109-149.btcentralplus.com> has quit IRC (Remote host closed the connection)
[05:07:05] *** C2CNL <C2CNL!~C2CNL@unaffiliated/resco> has joined ##C++-general
[05:09:45] *** davr0s <davr0s!~davrs@host109-149-130-28.range109-149.btcentralplus.com> has joined ##C++-general
[05:12:10] <braph2> RandomReader: Yeah it works
[05:12:33] *** davr0s <davr0s!~davrs@host109-149-130-28.range109-149.btcentralplus.com> has quit IRC (Remote host closed the connection)
[05:14:26] *** davr0s <davr0s!~davrs@host109-149-130-28.range109-149.btcentralplus.com> has joined ##C++-general
[05:16:51] *** purnifire <purnifire!~purnifire@92-38-78-16.cgn-pool-mnz.iptv.by> has joined ##C++-general
[05:17:05] *** C2CNL <C2CNL!~C2CNL@unaffiliated/resco> has quit IRC (Ping timeout: 265 seconds)
[05:17:08] *** davr0s <davr0s!~davrs@host109-149-130-28.range109-149.btcentralplus.com> has quit IRC (Remote host closed the connection)
[05:17:10] *** purnifire <purnifire!~purnifire@92-38-78-16.cgn-pool-mnz.iptv.by> has quit IRC (Remote host closed the connection)
[05:18:42] *** C2CNL <C2CNL!~C2CNL@unaffiliated/resco> has joined ##C++-general
[05:25:06] *** fc5dc9d4 <fc5dc9d4!~quassel@p57A32EC7.dip0.t-ipconnect.de> has joined ##C++-general
[05:26:05] *** lapsang is now known as covid19
[05:28:50] *** fc5dc9d4_ <fc5dc9d4_!~quassel@p5B081188.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 240 seconds)
[05:29:42] *** purplex88 <purplex88!~purplex88@unaffiliated/purplex88> has joined ##C++-general
[05:31:15] *** B1ackV3nom <B1ackV3nom!~B1ackWid0@gateway/tor-sasl/b1ackwid0w> has quit IRC (Quit: Bye everyone!)
[05:34:36] *** hero100 <hero100!~hero100@27.38.232.30> has quit IRC (Remote host closed the connection)
[05:35:20] *** darkstardev13 <darkstardev13!darkstarde@gateway/vpn/privateinternetaccess/darkstardevx> has joined ##C++-general
[05:35:33] *** hero100 <hero100!~hero100@27.38.232.27> has joined ##C++-general
[05:35:34] *** raven__ <raven__!darkstarde@gateway/vpn/privateinternetaccess/darkstardevx> has quit IRC (Read error: Connection reset by peer)
[05:35:41] *** purplex88 <purplex88!~purplex88@unaffiliated/purplex88> has quit IRC (Ping timeout: 268 seconds)
[05:36:37] *** thenori <thenori!~thenori@2601:741:4180:be0::1> has quit IRC (Remote host closed the connection)
[05:38:07] *** purplex88 <purplex88!~purplex88@unaffiliated/purplex88> has joined ##C++-general
[05:38:17] *** pulse <pulse!~pulse@unaffiliated/pulse> has quit IRC (Quit: pulse)
[05:40:35] *** hero100 <hero100!~hero100@27.38.232.27> has quit IRC (Ping timeout: 272 seconds)
[05:45:05] *** led_dark_1 <led_dark_1!~Thunderbi@217.66.160.14> has quit IRC (Quit: led_dark_1)
[05:51:57] *** hero100 <hero100!~hero100@27.38.232.18> has joined ##C++-general
[05:54:23] *** escanor <escanor!uid387784@gateway/web/irccloud.com/x-dvyzhwbkqbvoioat> has joined ##C++-general
[05:55:37] *** vdamewood <vdamewood!~vdamewood@unaffiliated/vdamewood> has joined ##C++-general
[05:56:37] *** ferdna <ferdna!~ferdna@cpe-69-23-148-218.elp.res.rr.com> has quit IRC (Quit: Leaving)
[05:58:30] *** hero100 <hero100!~hero100@27.38.232.18> has quit IRC (Ping timeout: 268 seconds)
[06:01:44] *** vinleod <vinleod!~vdamewood@unaffiliated/vdamewood> has joined ##C++-general
[06:02:07] *** vdamewood <vdamewood!~vdamewood@unaffiliated/vdamewood> has quit IRC (Ping timeout: 240 seconds)
[06:03:51] *** vinleod is now known as vdamewood
[06:14:19] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has joined ##C++-general
[06:15:50] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has quit IRC (Remote host closed the connection)
[06:16:18] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has joined ##C++-general
[06:16:50] *** lockywolf_ <lockywolf_!~lockywolf@95.85.18.95> has quit IRC (Ping timeout: 240 seconds)
[06:17:49] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has quit IRC (Remote host closed the connection)
[06:18:22] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has joined ##C++-general
[06:19:49] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has quit IRC (Remote host closed the connection)
[06:20:30] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has joined ##C++-general
[06:21:19] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has quit IRC (Remote host closed the connection)
[06:21:45] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has joined ##C++-general
[06:22:49] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has quit IRC (Remote host closed the connection)
[06:23:18] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has joined ##C++-general
[06:24:49] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has quit IRC (Remote host closed the connection)
[06:25:13] *** Jantz <Jantz!~IceChat9@118-93-142-216.dsl.dyn.ihug.co.nz> has quit IRC (Quit: If at first you don't succeed, skydiving is not for you.)
[06:25:14] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has joined ##C++-general
[06:25:28] *** Roughy <Roughy!~mdaw45ns@cm-84.215.16.191.getinternet.no> has quit IRC (Quit: Meadow Fresh milk)
[06:26:19] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has quit IRC (Remote host closed the connection)
[06:26:48] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has joined ##C++-general
[06:27:11] *** snuffkins <snuffkins!~snuffkins@80.78.219.161> has joined ##C++-general
[06:28:20] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has quit IRC (Remote host closed the connection)
[06:28:39] *** Madars <Madars!~null@unaffiliated/madars> has quit IRC (Ping timeout: 260 seconds)
[06:28:47] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has joined ##C++-general
[06:29:13] *** hero100 <hero100!~hero100@27.38.232.27> has joined ##C++-general
[06:29:49] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has quit IRC (Remote host closed the connection)
[06:30:16] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has joined ##C++-general
[06:31:21] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has quit IRC (Remote host closed the connection)
[06:31:56] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has joined ##C++-general
[06:32:19] *** Jackneill <Jackneill!~Jackneill@unaffiliated/jackneill> has joined ##C++-general
[06:32:49] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has quit IRC (Remote host closed the connection)
[06:33:22] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has joined ##C++-general
[06:34:20] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has quit IRC (Remote host closed the connection)
[06:34:47] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has joined ##C++-general
[06:36:19] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has quit IRC (Remote host closed the connection)
[06:36:54] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has joined ##C++-general
[06:37:49] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has quit IRC (Remote host closed the connection)
[06:38:15] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has joined ##C++-general
[06:39:19] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has quit IRC (Remote host closed the connection)
[06:39:23] *** snuffkins <snuffkins!~snuffkins@80.78.219.161> has quit IRC (Ping timeout: 260 seconds)
[06:39:34] *** snuffkin <snuffkin!~snuffkins@185.236.42.95> has joined ##C++-general
[06:39:43] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has joined ##C++-general
[06:39:52] *** condy <condy!~condy@unaffiliated/condy> has joined ##C++-general
[06:40:50] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has quit IRC (Remote host closed the connection)
[06:41:22] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has joined ##C++-general
[06:42:40] *** npaperbot <npaperbot!~npaperbot@dodecahedron.m-ou.se> has quit IRC (Remote host closed the connection)
[06:42:48] *** npaperbot <npaperbot!~npaperbot@dodecahedron.m-ou.se> has joined ##C++-general
[06:43:19] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has quit IRC (Remote host closed the connection)
[06:43:52] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has joined ##C++-general
[06:44:45] *** snuffkin <snuffkin!~snuffkins@185.236.42.95> has quit IRC (Ping timeout: 268 seconds)
[06:44:49] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has quit IRC (Remote host closed the connection)
[06:45:13] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has joined ##C++-general
[06:46:19] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has quit IRC (Remote host closed the connection)
[06:46:42] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has joined ##C++-general
[06:50:11] *** Madars <Madars!~null@unaffiliated/madars> has joined ##C++-general
[06:51:07] *** lockywolf__ <lockywolf__!~lockywolf@2408:84e2:11a:856d:3a59:f9ff:feb1:f6cb> has quit IRC (Ping timeout: 240 seconds)
[06:52:11] *** snuffkin <snuffkin!~snuffkins@80.78.219.161> has joined ##C++-general
[06:56:17] *** josef__k <josef__k!~jeremy@119-18-3-195.771203.syd.nbn.aussiebb.net> has quit IRC (Remote host closed the connection)
[06:56:44] *** josef__k <josef__k!~jeremy@119-18-3-195.771203.syd.nbn.aussiebb.net> has joined ##C++-general
[06:57:30] *** paulbanks <paulbanks!~none@adsl-27.37.6.175.tellas.gr> has quit IRC (Read error: Connection reset by peer)
[06:58:12] *** DSpider <DSpider!DSpider@2a02:2f0c:50ff:ffff::647f:3aa7> has joined ##C++-general
[06:59:01] *** DSpider <DSpider!DSpider@2a02:2f0c:50ff:ffff::647f:3aa7> has quit IRC (Read error: Connection reset by peer)
[06:59:23] *** DSpider <DSpider!~DSpider@86.120.182.68> has joined ##C++-general
[07:01:46] *** josef__k <josef__k!~jeremy@119-18-3-195.771203.syd.nbn.aussiebb.net> has quit IRC (Remote host closed the connection)
[07:02:15] *** josef__k <josef__k!~jeremy@119-18-3-195.771203.syd.nbn.aussiebb.net> has joined ##C++-general
[07:03:04] *** zap0 <zap0!~zap0@14-201-222-143.tpgi.com.au> has joined ##C++-general
[07:07:14] *** snuffkin <snuffkin!~snuffkins@80.78.219.161> has quit IRC (Ping timeout: 240 seconds)
[07:09:31] *** snuffkin <snuffkin!~snuffkins@37.120.131.142> has joined ##C++-general
[07:11:09] *** condy <condy!~condy@unaffiliated/condy> has quit IRC (Ping timeout: 265 seconds)
[07:13:07] *** Madars <Madars!~null@unaffiliated/madars> has quit IRC (Ping timeout: 268 seconds)
[07:21:26] *** Jackneill <Jackneill!~Jackneill@unaffiliated/jackneill> has quit IRC (Remote host closed the connection)
[07:28:10] *** ap4lmtree <ap4lmtree!ap4lmtree@unaffiliated/ap4lmtree> has joined ##C++-general
[07:30:23] *** Klox <Klox!~Klox@c-24-1-131-19.hsd1.il.comcast.net> has quit IRC (Ping timeout: 268 seconds)
[07:30:23] *** ville <ville!~ville@212-149-214-47.bb.dnainternet.fi> has quit IRC (Ping timeout: 268 seconds)
[07:32:14] *** ap4lmtree_ <ap4lmtree_!ap4lmtree@unaffiliated/ap4lmtree> has quit IRC (Ping timeout: 268 seconds)
[07:40:15] *** josef__k <josef__k!~jeremy@119-18-3-195.771203.syd.nbn.aussiebb.net> has quit IRC (Remote host closed the connection)
[07:40:42] *** josef__k <josef__k!~jeremy@119-18-3-195.771203.syd.nbn.aussiebb.net> has joined ##C++-general
[07:41:12] *** veegee <veegee!~veegee@ipagstaticip-3d3f7614-22f3-5b69-be13-7ab4b2c585d9.sdsl.bell.ca> has quit IRC (Quit: veegee)
[07:43:00] *** hero100 <hero100!~hero100@27.38.232.27> has quit IRC (Remote host closed the connection)
[07:43:13] *** hero100 <hero100!~hero100@27.38.236.116> has joined ##C++-general
[07:45:42] *** josef__k <josef__k!~jeremy@119-18-3-195.771203.syd.nbn.aussiebb.net> has quit IRC (Remote host closed the connection)
[07:46:10] *** josef__k <josef__k!~jeremy@119-18-3-195.771203.syd.nbn.aussiebb.net> has joined ##C++-general
[07:46:20] *** Madars <Madars!~null@unaffiliated/madars> has joined ##C++-general
[07:47:15] *** Shikadi` <Shikadi`!~Shikadi@135.30.27.136.in-addr.arpa> has quit IRC (Ping timeout: 272 seconds)
[07:47:54] *** gargus <gargus!~user@202-159-177-86.dyn.iinet.net.au> has joined ##C++-general
[07:48:11] *** Tazmainian <Tazmainian!~Tazmain@unaffiliated/tazmain> has joined ##C++-general
[07:52:11] *** nolyc <nolyc!~supybot@www.projectiwear.org> has quit IRC (Ping timeout: 260 seconds)
[07:53:17] *** nolyc <nolyc!~supybot@www.projectiwear.org> has joined ##C++-general
[07:58:50] *** artzel <artzel!~4rtzel@86.57.255.92> has joined ##C++-general
[08:05:14] *** Madars <Madars!~null@unaffiliated/madars> has quit IRC (Ping timeout: 240 seconds)
[08:11:36] *** JohnMS_WORK <JohnMS_WORK!~JohnMS_WO@host-193-59-178-5.gog.com> has joined ##C++-general
[08:13:45] *** covid19 <covid19!~g@gateway/tor-sasl/gaiwan> has quit IRC (Remote host closed the connection)
[08:18:28] *** Noti <Noti!~steffan@185.2.243.3> has joined ##C++-general
[08:18:32] *** rajrajraj <rajrajraj!uid72176@gateway/web/irccloud.com/x-giaxailjtejtvzav> has quit IRC (Quit: Connection closed for inactivity)
[08:26:04] *** Madars <Madars!~null@unaffiliated/madars> has joined ##C++-general
[08:27:41] *** rfuentess <rfuentess!~rfuentess@2a01:cb14:84b:7f00:56b2:3ff:fe09:96ec> has joined ##C++-general
[08:27:57] *** V-ille <V-ille!~vivoutil@dcxv6myc9kv-h4bs-q-py-3.rev.dnainternet.fi> has quit IRC (Quit: Leaving.)
[08:28:58] *** gagbo_ <gagbo_!~gagbo@unaffiliated/gagbo> has quit IRC (Ping timeout: 265 seconds)
[08:29:03] *** linarcx <linarcx!~linarcx@151.241.236.244> has joined ##C++-general
[08:29:03] *** biberu <biberu!~biberu@c188-149-190-212.bredband.comhem.se> has joined ##C++-general
[08:31:18] *** gloomy <gloomy!~Gloomy@30835006b.pa.net.dtu.dk> has joined ##C++-general
[08:40:21] *** Atque <Atque!~Atque@unaffiliated/atque> has joined ##C++-general
[08:41:13] *** Serpent7776 <Serpent7776!~Serpent77@78-11-8-249.static.ip.netia.com.pl> has joined ##C++-general
[08:41:23] *** josef__k <josef__k!~jeremy@119-18-3-195.771203.syd.nbn.aussiebb.net> has quit IRC (Remote host closed the connection)
[08:41:50] *** josef__k <josef__k!~jeremy@119-18-3-195.771203.syd.nbn.aussiebb.net> has joined ##C++-general
[08:46:22] *** Madars <Madars!~null@unaffiliated/madars> has quit IRC (Ping timeout: 265 seconds)
[08:49:07] *** gloomy <gloomy!~Gloomy@30835006b.pa.net.dtu.dk> has quit IRC (Ping timeout: 260 seconds)
[08:49:40] *** gloomy_ <gloomy_!~Gloomy@4d9ee6ae.pa.net.dtu.dk> has joined ##C++-general
[08:49:56] *** josef__k <josef__k!~jeremy@119-18-3-195.771203.syd.nbn.aussiebb.net> has quit IRC (Remote host closed the connection)
[08:50:05] *** ipe <ipe!~ipe@91-156-247-55.elisa-laajakaista.fi> has joined ##C++-general
[08:50:47] *** josef__k <josef__k!~jeremy@119-18-3-195.771203.syd.nbn.aussiebb.net> has joined ##C++-general
[08:53:13] *** BOKALDO <BOKALDO!~BOKALDO@81.198.157.199> has joined ##C++-general
[08:54:13] *** Gvidon <Gvidon!~Gvidon@unaffiliated/gvidon> has joined ##C++-general
[08:54:56] *** ipee <ipee!~ipe@91-156-247-55.elisa-laajakaista.fi> has joined ##C++-general
[08:57:33] *** ipe <ipe!~ipe@91-156-247-55.elisa-laajakaista.fi> has quit IRC (Ping timeout: 272 seconds)
[09:05:19] *** gloomy_ <gloomy_!~Gloomy@4d9ee6ae.pa.net.dtu.dk> has quit IRC (Read error: Connection reset by peer)
[09:06:28] *** gloomy <gloomy!~Gloomy@4d9ee6ae.pa.net.dtu.dk> has joined ##C++-general
[09:09:26] *** serviscope_minor <serviscope_minor!~Telequipm@88.97.56.26> has joined ##C++-general
[09:10:54] *** SteffanW <SteffanW!~steffan@185.2.243.3> has joined ##C++-general
[09:11:31] *** Noti <Noti!~steffan@185.2.243.3> has quit IRC (Ping timeout: 260 seconds)
[09:12:05] *** V-ille <V-ille!~vivoutil@192.89.120.62> has joined ##C++-general
[09:12:30] *** Madars <Madars!~null@unaffiliated/madars> has joined ##C++-general
[09:16:19] *** biberu <biberu!~biberu@c188-149-190-212.bredband.comhem.se> has quit IRC ()
[09:18:09] *** BOKALDO_ <BOKALDO_!~BOKALDO@87.110.91.125> has joined ##C++-general
[09:20:50] *** BOKALDO <BOKALDO!~BOKALDO@81.198.157.199> has quit IRC (Ping timeout: 240 seconds)
[09:21:53] *** Haohmaru <Haohmaru!~Haohmaru@195.24.53.110> has joined ##C++-general
[09:22:02] *** akemhp <akemhp!~akem@185.107.80.182> has quit IRC (Ping timeout: 240 seconds)
[09:32:17] *** Madars <Madars!~null@unaffiliated/madars> has quit IRC (Ping timeout: 265 seconds)
[09:38:17] *** JohnMS <JohnMS!~JohnMS_WO@host-193-59-178-5.gog.com> has joined ##C++-general
[09:39:18] *** biberu <biberu!~biberu@226.193.241.83.in-addr.dgcsystems.net> has joined ##C++-general
[09:41:44] *** JohnMS_WORK <JohnMS_WORK!~JohnMS_WO@host-193-59-178-5.gog.com> has quit IRC (Ping timeout: 268 seconds)
[09:42:54] *** krack <krack!~krack@unaffiliated/krack> has joined ##C++-general
[09:45:07] *** Fairy <Fairy!~Fairy@unaffiliated/fairy> has quit IRC (Ping timeout: 260 seconds)
[09:45:27] *** Fairy <Fairy!~Fairy@unaffiliated/fairy> has joined ##C++-general
[09:47:40] *** Galik <Galik!~galik@unaffiliated/galik> has quit IRC (Quit: Leaving)
[09:57:40] *** snowkidimd <snowkidimd!~snowkidim@2405:9800:ba03:9767:fdf1:aaf0:272c:1a14> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[09:58:52] *** Madars <Madars!~null@unaffiliated/madars> has joined ##C++-general
[10:08:47] *** josef__k <josef__k!~jeremy@119-18-3-195.771203.syd.nbn.aussiebb.net> has quit IRC (Remote host closed the connection)
[10:09:19] *** josef__k <josef__k!~jeremy@119-18-3-195.771203.syd.nbn.aussiebb.net> has joined ##C++-general
[10:12:17] *** Jantz <Jantz!~IceChat9@118-93-142-216.dsl.dyn.ihug.co.nz> has joined ##C++-general
[10:13:20] *** purplex88 <purplex88!~purplex88@unaffiliated/purplex88> has quit IRC (Read error: Connection reset by peer)
[10:14:48] *** josef__k <josef__k!~jeremy@119-18-3-195.771203.syd.nbn.aussiebb.net> has quit IRC (Remote host closed the connection)
[10:15:30] *** Atque <Atque!~Atque@unaffiliated/atque> has quit IRC (Quit: ...)
[10:15:32] *** josef__k <josef__k!~jeremy@119-18-3-195.771203.syd.nbn.aussiebb.net> has joined ##C++-general
[10:16:27] *** Dave_R <Dave_R!~Dave_R@mail.mannisland.co.uk> has joined ##C++-general
[10:18:02] *** Madars <Madars!~null@unaffiliated/madars> has quit IRC (Ping timeout: 240 seconds)
[10:18:44] *** serviscope_minor <serviscope_minor!~Telequipm@88.97.56.26> has quit IRC (Ping timeout: 268 seconds)
[10:18:47] *** quarterback <quarterback!~quarterba@unaffiliated/quarterback> has joined ##C++-general
[10:21:14] *** SteffanW <SteffanW!~steffan@185.2.243.3> has quit IRC (Ping timeout: 240 seconds)
[10:21:31] *** purplex88 <purplex88!~purplex88@unaffiliated/purplex88> has joined ##C++-general
[10:22:41] *** SteffanW <SteffanW!~steffan@185.2.243.3> has joined ##C++-general
[10:31:04] *** AbleBacon <AbleBacon!~AbleBacon@unaffiliated/ablebacon> has quit IRC (Read error: Connection reset by peer)
[10:34:19] *** josef__k <josef__k!~jeremy@119-18-3-195.771203.syd.nbn.aussiebb.net> has quit IRC (Remote host closed the connection)
[10:34:44] *** josef__k <josef__k!~jeremy@119-18-3-195.771203.syd.nbn.aussiebb.net> has joined ##C++-general
[10:35:41] *** Atque <Atque!~Atque@unaffiliated/atque> has joined ##C++-general
[10:37:23] *** Human_G33k <Human_G33k!~HumanG33k@62.147.242.8> has quit IRC (Ping timeout: 260 seconds)
[10:38:20] *** paul424 <paul424!~tom@pfn101.internetdsl.tpnet.pl> has joined ##C++-general
[10:39:09] *** crabskuttles_ <crabskuttles_!~crabskutt@223.204.247.34> has joined ##C++-general
[10:39:09] *** crabskuttles <crabskuttles!~crabskutt@mx-ll-223.204.248-15.dynamic.3bb.co.th> has quit IRC (Killed (orwell.freenode.net (Nickname regained by services)))
[10:39:09] *** crabskuttles_ is now known as crabskuttles
[10:41:08] *** krack <krack!~krack@unaffiliated/krack> has quit IRC (Quit: wack big macs and prozac six-packs)
[10:42:40] *** npaperbot <npaperbot!~npaperbot@dodecahedron.m-ou.se> has quit IRC (Remote host closed the connection)
[10:42:47] *** josef__k <josef__k!~jeremy@119-18-3-195.771203.syd.nbn.aussiebb.net> has quit IRC (Remote host closed the connection)
[10:42:49] *** npaperbot <npaperbot!~npaperbot@dodecahedron.m-ou.se> has joined ##C++-general
[10:42:56] *** Atque <Atque!~Atque@unaffiliated/atque> has quit IRC (Quit: ...)
[10:42:59] *** Arahael <Arahael!~arahael@194-193-204-56.tpgi.com.au> has quit IRC (Ping timeout: 260 seconds)
[10:43:15] *** josef__k <josef__k!~jeremy@119-18-3-195.771203.syd.nbn.aussiebb.net> has joined ##C++-general
[10:45:25] <xq> Is there some simple cross-platform file picker GUI for C++ application?
[10:46:00] <Gvidon> Is file picking really the only thing you need a UI for?
[10:46:24] <Haohmaru> there are cases where you might only need that
[10:46:37] <Haohmaru> cuz you have the rest of the GUI already covered
[10:46:58] <Svitkona> this, maybe? https://doc.qt.io/qt-5/qfiledialog.html
[10:47:19] <Gvidon> Well, then you're already using some GUI framework. Doing file picking in something else would be really weird
[10:47:27] *** krack <krack!~krack@unaffiliated/krack> has joined ##C++-general
[10:47:33] <Haohmaru> nope
[10:47:50] <Haohmaru> Gvidon VST plugins are one eggzample where this could happen
[10:48:05] <Gvidon> No idea what VST is
[10:48:07] <TinoDidriksen> The various GUI frameworks all defer to the OS file picker dialog. Just use whatever your GUI framework uses.
[10:48:18] <Haohmaru> you can't really use normal stuff like qt or wxwidgets there
[10:49:13] <Haohmaru> so maybe the question is, which GUI framework has a file dialog that drags the least amount of weight
[10:49:34] *** quarterback <quarterback!~quarterba@unaffiliated/quarterback> has quit IRC (Quit: Leaving)
[10:49:38] <Haohmaru> allegro5 has a file picker
[10:49:51] <Haohmaru> Svitkona doesn't that come with the whole qt?
[10:50:40] *** csknk <csknk!~csknk@unaffiliated/csknk> has joined ##C++-general
[10:51:36] <RandomReader> GUIs generally need some setup for things like event handling, so it's not like this just a matter of trivial library usage .. kinda needs context on the rest of the program
[10:52:36] <Haohmaru> on one of my windows VSTs, i added a M$ file dialog which causes funky side-efects to the host program
[10:52:40] <Haohmaru> ..while it's open
[10:53:42] <xq> rest of the application uses SFML and OpenGL for visuals
[10:53:59] <Haohmaru> doesn't SFML provide one?
[10:54:14] <Haohmaru> maybe rewrite it with allegro ;P~
[10:54:16] <xq> nope, "out of scope"
[10:54:28] <Haohmaru> is it a game?
[10:54:28] <xq> and neither of the two widget libraries that build on SFML do either
[10:54:42] <Haohmaru> file selectors aren't fun
[10:54:46] <xq> sort of, Haohmaru
[10:55:01] <Haohmaru> look into allegro5 then IMO
[10:55:15] <Haohmaru> if you don't find anything else
[10:55:41] *** pncl <pncl!~pncl____@151.254.89.159> has joined ##C++-general
[10:56:03] <xq> the thing is 23 years old 100k SLOC tangled mess of C-that-became-C++ written by someone who knew zero programming
[10:56:20] <Haohmaru> noice
[10:56:27] <xq> with 600 line functions and an army of globals
[10:56:39] <xq> am I looking to rewrite it to a new UI framework (again) ? probably not :)
[10:56:45] <TinoDidriksen> https://github.com/JayhawkZombie/SFMLFileBrowser exists.
[10:57:01] <xq> yeah, saw that one, seems like the only option so far
[10:57:32] <TinoDidriksen> The other recommendation is to spawn a separate process that returns the picked file.
[10:57:45] *** velco <velco!velco@nat/arm/x-ooauvahlfyazmfjy> has joined ##C++-general
[10:58:18] *** josef__k <josef__k!~jeremy@119-18-3-195.771203.syd.nbn.aussiebb.net> has quit IRC (Remote host closed the connection)
[10:59:05] <Haohmaru> as for allegro, it's part of the addons akchually: https://liballeg.org/a5docs/trunk/native_dialog.html
[10:59:13] *** josef__k <josef__k!~jeremy@119-18-3-195.771203.syd.nbn.aussiebb.net> has joined ##C++-general
[10:59:38] *** linarcx <linarcx!~linarcx@151.241.236.244> has quit IRC (Quit: WeeChat 2.7)
[11:01:28] *** linarcx <linarcx!~linarcx@151.241.236.244> has joined ##C++-general
[11:03:58] *** merethan_w <merethan_w!~merethan_@84-106-77-64.cable.dynamic.v4.ziggo.nl> has joined ##C++-general
[11:06:04] *** abba <abba!~abba@93.241.36.4> has joined ##C++-general
[11:06:35] *** abba <abba!~abba@93.241.36.4> has quit IRC (Client Quit)
[11:08:39] *** abba <abba!~abba@93.241.36.4> has joined ##C++-general
[11:08:46] *** abba <abba!~abba@93.241.36.4> has quit IRC (Client Quit)
[11:13:30] *** abderrahmanh <abderrahmanh!~luffyu@84.17.59.178> has joined ##C++-general
[11:15:50] *** mgrech <mgrech!~mgrech@62-46-199-140.adsl.highway.telekom.at> has joined ##C++-general
[11:18:51] *** pncl <pncl!~pncl____@151.254.89.159> has quit IRC (Quit: Leaving)
[11:24:36] *** quarterback <quarterback!~quarterba@unaffiliated/quarterback> has joined ##C++-general
[11:24:37] *** Madars <Madars!~null@unaffiliated/madars> has joined ##C++-general
[11:25:19] <zap0> Haohmaru still using a5?
[11:26:02] <Haohmaru> no.. i only made one program with it
[11:26:07] <Haohmaru> not even a game ;P~
[11:26:51] <zap0> why not put the M$ file dialog in another thread, would that fix VST issue?
[11:27:40] <Haohmaru> maybe, but that project is burried in 7 years worth of dust
[11:27:44] <Haohmaru> so i ain't touching it
[11:28:06] <zap0> 7 years! pfft! those are rookie numbers ;)
[11:28:18] *** josef__k <josef__k!~jeremy@119-18-3-195.771203.syd.nbn.aussiebb.net> has quit IRC (Remote host closed the connection)
[11:28:43] <Haohmaru> if i ever rewrite it, it's gonna be with the wdl/iplug framework and that one has file selectorz
[11:28:45] *** josef__k <josef__k!~jeremy@119-18-3-195.771203.syd.nbn.aussiebb.net> has joined ##C++-general
[11:29:15] <Haohmaru> but i doubt.. since.. in fact, i'm trying to "port" that same project onto akchual hardware (cortex M4F)
[11:30:25] <zap0> not 10 mins ago, i was porting some x64 to 32bit for similiar move to a 32bit micro.
[11:30:42] <Haohmaru> kewl
[11:30:57] <Haohmaru> i hope 120MHz is enough for muh sh*t
[11:31:18] <zap0> using a RT OS ?
[11:31:22] <Haohmaru> hell no
[11:32:09] <Haohmaru> realtime audio synthesis, low audio I/O latency is desiraburu
[11:32:55] <zap0> how big are your packets?
[11:33:08] <Haohmaru> no code written yet
[11:33:35] <Haohmaru> coz the programmer i bought doesn't wurk for cortex chipz from other vend0rz >:(
[11:33:46] <Haohmaru> i mean.. intentionally
[11:34:19] *** JohnMS <JohnMS!~JohnMS_WO@host-193-59-178-5.gog.com> has quit IRC (Ping timeout: 260 seconds)
[11:34:40] <Haohmaru> i'm waiting for another one to arrive from ebay.. UK to BG - 3 months
[11:34:52] <zap0> 120mhz audio? that's high freq.. you plan to have it broadcast on FM. right from the chip?!
[11:34:53] <Haohmaru> iz liek an akchual postman is gonna walk the way to here
[11:35:10] <Haohmaru> no, 120MHz is teh cortex clock
[11:35:25] <Haohmaru> audio would be Fs=96kHz
[11:36:44] <Haohmaru> ideally a hardware version of this sh*t: https://blog.wavosaur.com/wp-content/uploads/2014/05/venom303.png
[11:38:12] <zap0> ~1200 instructions for every sample you produce.
[11:38:34] <zap0> i hope that's enough for all that phat bass
[11:38:34] <quarterback> Haohmaru, Are you making any amplifier?
[11:38:46] <Haohmaru> huehue
[11:38:59] <Haohmaru> quarterback uh, nope
[11:40:21] <zap0> key to making a good 303 emu is the cut/resonance.. i imagine thats not the most trivial thing to do in software
[11:41:35] *** josef__k <josef__k!~jeremy@119-18-3-195.771203.syd.nbn.aussiebb.net> has quit IRC (Ping timeout: 272 seconds)
[11:42:16] <Haohmaru> yeah but i've spent like 4 years understanding that thing, plus a pile moar years trying to understand what i've learnt, and i've made 2 working digital models of it that sound/behave decent, plus emulated the sequencer on akchual hardware (atmega) so..
[11:42:39] <Haohmaru> i know what to do.. just gotta fight with the ARM monster first
[11:43:55] <zap0> M4(F) the F is for floating point support?
[11:44:01] <Haohmaru> yup
[11:44:05] *** Furai <Furai!~Furai@cookiehoster.furai.pl> has quit IRC (Quit: WeeChat 2.7)
[11:44:08] <Haohmaru> need them floatz
[11:44:31] <Haohmaru> i hope my IIR stuff wurkz on 32bit precision :/
[11:44:47] <Haohmaru> if not, imma have to rewrite it sumhow
[11:44:57] <zap0> have you not tested it on x32 ?
[11:45:08] <quarterback> For DSP dont use fixed point. Use floating point arithmetic.
[11:45:22] *** DSpider <DSpider!~DSpider@86.120.182.68> has quit IRC (Read error: Connection reset by peer)
[11:45:32] <Haohmaru> both models are win32 VSTs, but in both i used double precision.. cuz why not
[11:45:35] *** interop_madness <interop_madness!~interop_m@unaffiliated/interop-madness/x-8858653> has joined ##C++-general
[11:45:51] *** hero100 <hero100!~hero100@27.38.236.116> has quit IRC (Remote host closed the connection)
[11:46:12] <braph2> I'm encountering really strange behaviour here: http://sprunge.us/pJ3toD This exception is thrown when I'm trying to initialize a boost::process::opstream, even inside a try{}catch(...).
[11:46:19] *** DSpider <DSpider!~DSpider@86.120.182.68> has joined ##C++-general
[11:46:29] <zap0> cuz why not?! cause now it's harder to port to 32bit micro!
[11:47:04] <zap0> you should have made all your sample_t<T> so you can try float and double
[11:47:22] <Haohmaru> well i was trying to get the model working as gud as possible back then.. you think i have ever imagined that i'll be making PCBs and electronics back then? i stared at schematic like a living potato
[11:47:55] *** Madars <Madars!~null@unaffiliated/madars> has quit IRC (Ping timeout: 272 seconds)
[11:48:03] *** hero100 <hero100!~hero100@27.38.232.27> has joined ##C++-general
[11:48:10] <zap0> braph2 not suprised, mpg123 doesn't like corrupted input.
[11:48:40] <zap0> mpg123 is old in'it, like it's not being worked on anymore.
[11:49:04] *** Furai <Furai!~Furai@cookiehoster.furai.pl> has joined ##C++-general
[11:49:22] <braph2> zap0: I'm pretty sure that it's not corrupted input on the mpg123 side. Im spawning a boost::process::child of mpg123 -R
[11:51:07] *** NightQuest <NightQuest!~NQ@c-24-21-234-172.hsd1.or.comcast.net> has quit IRC (Remote host closed the connection)
[11:51:37] <braph2> what really bugs me is that i cannot catch this exception...
[11:52:59] *** hero100 <hero100!~hero100@27.38.232.27> has quit IRC (Ping timeout: 272 seconds)
[11:53:11] <Haohmaru> mm, greasy piggsception
[11:53:12] *** kavity <kavity!~kavity@mail.kavity.space> has quit IRC (Read error: Connection reset by peer)
[11:53:25] *** georgiePorgie <georgiePorgie!~george43g@120.158.182.109> has joined ##C++-general
[11:53:27] <braph2> I surrounded all my functions with a try block and it still occurs...
[11:53:38] *** BrainWork <BrainWork!~BrainWork@efm.dh.comech.co.uk> has quit IRC (Ping timeout: 240 seconds)
[11:53:45] <zap0> braph2 mpg123 --version?
[11:55:32] <braph2> zap0: I'm pretty sure its not a mpg123 issue. lets see what happens if i simple spawn 'cat'
[11:57:03] <braph2> damn i'm feeling stupid right now ... cat works ...
[11:57:30] <Gvidon> Try a dog
[11:59:37] <braph2> I cannot imagine that it's an mpg123 error... i'm just controlling the mpg123 process via stdin and read some information from stdout
[12:00:47] *** kavity <kavity!~kavity@mail.kavity.space> has joined ##C++-general
[12:00:56] <zap0> did you ach'lly setup the pipes properlu
[12:03:26] <braph2> zap0 I don't know. I used the examples from the boost documentation
[12:04:28] <zap0> by 0x13339F: overflow (pipe.hpp:184) <-- looks bad
[12:06:34] *** gloomy <gloomy!~Gloomy@4d9ee6ae.pa.net.dtu.dk> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[12:07:15] <braph2> zap0: It looks to me that this is some kind of a OS-Error. IDK, like when there are no more open filedescriptors available or something. But I'm lacking of knowledge of such things
[12:08:09] <zap0> that sounds inplausible.
[12:08:19] <zap0> it's you.
[12:08:22] <zap0> do it right.
[12:09:15] *** arahael <arahael!~arahael@194-193-204-56.tpgi.com.au> has joined ##C++-general
[12:12:35] *** pncl <pncl!~pncl____@151.254.89.159> has joined ##C++-general
[12:14:00] *** gloomy <gloomy!~Gloomy@4d9ee6ae.pa.net.dtu.dk> has joined ##C++-general
[12:14:05] *** Madars <Madars!~null@unaffiliated/madars> has joined ##C++-general
[12:14:09] *** HumanG33k <HumanG33k!~HumanG33k@62.147.242.8> has joined ##C++-general
[12:14:40] *** HumanG33k <HumanG33k!~HumanG33k@62.147.242.8> has quit IRC (Read error: Connection reset by peer)
[12:15:38] *** HumanG33k <HumanG33k!~HumanG33k@62.147.242.8> has joined ##C++-general
[12:15:38] *** HumanG33k <HumanG33k!~HumanG33k@62.147.242.8> has quit IRC (Read error: Connection reset by peer)
[12:16:56] *** quarterback <quarterback!~quarterba@unaffiliated/quarterback> has left ##C++-general ("Leaving")
[12:17:14] *** causative <causative!~halberd@unaffiliated/halberd> has quit IRC (Ping timeout: 240 seconds)
[12:17:15] *** abderrahmanh <abderrahmanh!~luffyu@84.17.59.178> has quit IRC (Ping timeout: 260 seconds)
[12:20:43] *** biberu <biberu!~biberu@226.193.241.83.in-addr.dgcsystems.net> has quit IRC ()
[12:22:15] <Haohmaru> #include <zap0.hpp> // for motivation
[12:23:10] <zap0> more like #include <zap\0.hpp>
[12:23:35] <Haohmaru> hey that looks suspicious
[12:24:07] *** quarterback <quarterback!~quarterba@unaffiliated/quarterback> has joined ##C++-general
[12:36:15] *** Madars <Madars!~null@unaffiliated/madars> has quit IRC (Ping timeout: 268 seconds)
[12:38:18] *** chris64 <chris64!~chris@unaffiliated/chris64> has joined ##C++-general
[12:38:22] *** snowkidimd <snowkidimd!~snowkidim@2405:9800:ba03:9767:87a:d87f:8c0a:aff0> has joined ##C++-general
[12:42:24] *** pncl <pncl!~pncl____@151.254.89.159> has quit IRC (Quit: Leaving)
[12:46:11] *** gargus <gargus!~user@202-159-177-86.dyn.iinet.net.au> has quit IRC (Ping timeout: 272 seconds)
[12:48:26] *** arahael <arahael!~arahael@194-193-204-56.tpgi.com.au> has quit IRC (Ping timeout: 240 seconds)
[12:50:49] *** Peter87 <Peter87!5ae637ed@gateway/web/cgi-irc/kiwiirc.com/ip.90.230.55.237> has joined ##C++-general
[12:58:06] *** ibispi <ibispi!~quassel@46.17.148.240> has joined ##C++-general
[13:00:51] *** kavity <kavity!~kavity@mail.kavity.space> has quit IRC (Quit: Weird.)
[13:01:07] *** kavity <kavity!~kavity@mail.kavity.space> has joined ##C++-general
[13:02:03] *** flam <flam!~flam2212@118.189.141.51> has quit IRC (Ping timeout: 260 seconds)
[13:02:25] *** mujjingun <mujjingun!~park@218.152.155.147> has joined ##C++-general
[13:08:23] <zap0> you do
[13:10:45] *** csknk <csknk!~csknk@unaffiliated/csknk> has quit IRC (Ping timeout: 265 seconds)
[13:10:46] *** georgiePorgie <georgiePorgie!~george43g@120.158.182.109> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[13:12:27] *** Madars <Madars!~null@unaffiliated/madars> has joined ##C++-general
[13:14:32] *** hero100 <hero100!~hero100@27.38.232.30> has joined ##C++-general
[13:22:21] *** mujjingun <mujjingun!~park@218.152.155.147> has quit IRC (Ping timeout: 265 seconds)
[13:26:21] *** quarterback <quarterback!~quarterba@unaffiliated/quarterback> has quit IRC (Quit: Leaving)
[13:32:18] *** georgiePorgie <georgiePorgie!~george43g@120.158.182.109> has joined ##C++-general
[13:32:29] *** Meteorhead <Meteorhead!~Meteorhea@217.138.207.228> has joined ##C++-general
[13:34:57] *** toytoy <toytoy!~toytoy@unaffiliated/t0yt0y> has joined ##C++-general
[13:35:17] *** lilltiger_ is now known as lilltiger
[13:36:22] *** ipee <ipee!~ipe@91-156-247-55.elisa-laajakaista.fi> has quit IRC (Ping timeout: 265 seconds)
[13:36:51] *** Madars <Madars!~null@unaffiliated/madars> has quit IRC (Ping timeout: 272 seconds)
[13:38:05] *** lh_mouse <lh_mouse!~lh_mouse@unaffiliated/lh-mouse/x-3986007> has joined ##C++-general
[13:39:30] *** rajkosto <rajkosto!~Rajko@cable-178-149-122-96.dynamic.sbb.rs> has joined ##C++-general
[13:43:30] *** ipe <ipe!~ipe@91-156-247-55.elisa-laajakaista.fi> has joined ##C++-general
[13:43:35] *** hero100 <hero100!~hero100@27.38.232.30> has quit IRC (Ping timeout: 260 seconds)
[13:44:59] *** ville <ville!~ville@37-33-1-79.bb.dnainternet.fi> has joined ##C++-general
[13:48:15] *** ipe <ipe!~ipe@91-156-247-55.elisa-laajakaista.fi> has quit IRC (Ping timeout: 272 seconds)
[13:55:37] *** toytoy_ <toytoy_!~toytoy@110.54.226.49> has joined ##C++-general
[13:55:37] *** gloomy <gloomy!~Gloomy@4d9ee6ae.pa.net.dtu.dk> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[13:57:02] *** toytoy <toytoy!~toytoy@unaffiliated/t0yt0y> has quit IRC (Ping timeout: 268 seconds)
[13:57:03] *** toytoy_ is now known as toytoy
[13:59:55] *** toytoy <toytoy!~toytoy@unaffiliated/t0yt0y> has quit IRC (Client Quit)
[14:00:02] *** chris64 <chris64!~chris@unaffiliated/chris64> has quit IRC (Ping timeout: 240 seconds)
[14:00:35] *** toytoy <toytoy!~toytoy@unaffiliated/t0yt0y> has joined ##C++-general
[14:04:52] *** escanor <escanor!uid387784@gateway/web/irccloud.com/x-dvyzhwbkqbvoioat> has quit IRC (Quit: Connection closed for inactivity)
[14:05:02] *** rafalcpp <rafalcpp!~racalcppp@ip-178-211.ists.pl> has joined ##C++-general
[14:05:04] *** paul424 <paul424!~tom@pfn101.internetdsl.tpnet.pl> has quit IRC (Quit: Leaving)
[14:05:30] *** V-ille <V-ille!~vivoutil@192.89.120.62> has quit IRC (Quit: Leaving.)
[14:09:47] *** gloomy <gloomy!~Gloomy@308350074.pa.net.dtu.dk> has joined ##C++-general
[14:14:14] *** hero100 <hero100!~hero100@27.38.236.116> has joined ##C++-general
[14:14:52] *** Madars <Madars!~null@unaffiliated/madars> has joined ##C++-general
[14:23:38] *** chris64 <chris64!~chris@unaffiliated/chris64> has joined ##C++-general
[14:24:10] *** Jantz <Jantz!~IceChat9@118-93-142-216.dsl.dyn.ihug.co.nz> has quit IRC (Ping timeout: 268 seconds)
[14:25:00] *** toytoy <toytoy!~toytoy@unaffiliated/t0yt0y> has quit IRC (Remote host closed the connection)
[14:25:35] *** gloomy_ <gloomy_!~Gloomy@4d9ee6ae.pa.net.dtu.dk> has joined ##C++-general
[14:25:35] *** gloomy <gloomy!~Gloomy@308350074.pa.net.dtu.dk> has quit IRC (Ping timeout: 260 seconds)
[14:25:35] *** quarterback <quarterback!~quarterba@unaffiliated/quarterback> has joined ##C++-general
[14:25:58] *** toytoy <toytoy!~toytoy@unaffiliated/t0yt0y> has joined ##C++-general
[14:27:29] *** toytoy <toytoy!~toytoy@unaffiliated/t0yt0y> has quit IRC (Client Quit)
[14:27:41] *** Jantz <Jantz!~IceChat9@118-93-142-216.dsl.dyn.ihug.co.nz> has joined ##C++-general
[14:32:50] *** mujjingun <mujjingun!~park@218.152.155.147> has joined ##C++-general
[14:34:50] *** Madars <Madars!~null@unaffiliated/madars> has quit IRC (Ping timeout: 240 seconds)
[14:38:55] *** ville <ville!~ville@37-33-1-79.bb.dnainternet.fi> has quit IRC (Ping timeout: 272 seconds)
[14:42:32] *** quarterback <quarterback!~quarterba@unaffiliated/quarterback> has quit IRC (Quit: Leaving)
[14:42:41] *** npaperbot <npaperbot!~npaperbot@dodecahedron.m-ou.se> has quit IRC (Remote host closed the connection)
[14:42:50] *** npaperbot <npaperbot!~npaperbot@dodecahedron.m-ou.se> has joined ##C++-general
[14:42:51] *** gloomy_ <gloomy_!~Gloomy@4d9ee6ae.pa.net.dtu.dk> has quit IRC (Ping timeout: 260 seconds)
[14:45:15] *** mujjingun <mujjingun!~park@218.152.155.147> has quit IRC (Ping timeout: 272 seconds)
[14:46:47] *** bluezone <bluezone!uid104970@gateway/web/irccloud.com/x-eqsrwsrowvffkqan> has quit IRC (Quit: Connection closed for inactivity)
[14:50:00] *** V-ille <V-ille!~vivoutil@dcxv6myd4jm-x27-c46bt-3.rev.dnainternet.fi> has joined ##C++-general
[14:54:55] *** gloomy <gloomy!~Gloomy@308350074.pa.net.dtu.dk> has joined ##C++-general
[14:55:37] *** braph2 <braph2!~braph@x4d0c1e04.dyn.telefonica.de> has quit IRC (Ping timeout: 268 seconds)
[14:58:16] *** BOKALDO_ <BOKALDO_!~BOKALDO@87.110.91.125> has quit IRC (Quit: Leaving)
[15:02:54] *** Gitinh4_ <Gitinh4_!~Gitinh4@net-37-116-65-39.cust.vodafonedsl.it> has joined ##C++-general
[15:03:00] <Gitinh4_> no matching constructor for initialization of 'std::vector<unsigned short>'
[15:03:00] <Gitinh4_> std::vector<unsigned short> myd(data, size);
[15:03:15] <Gitinh4_> someone can help me understand that
[15:05:20] <Gvidon> Gitinh4_: https://en.cppreference.com/w/cpp/container/vector/vector
[15:05:21] <mh_le> did you remember #include <vector> ?
[15:06:00] <Gvidon> Read the list carefully and try to find the one you're trying to call
[15:07:45] <Gitinh4_> mh_le yes
[15:10:40] *** scampbell <scampbell!~scampbell@mail.scampbell.net> has joined ##C++-general
[15:11:19] *** gloomy <gloomy!~Gloomy@308350074.pa.net.dtu.dk> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[15:13:34] *** hero100 <hero100!~hero100@27.38.236.116> has quit IRC (Remote host closed the connection)
[15:14:11] *** m5w_ <m5w_!803d52dd@res380d-128-61-82-221.res.gatech.edu> has quit IRC (Remote host closed the connection)
[15:16:24] *** hero100 <hero100!~hero100@27.38.244.128> has joined ##C++-general
[15:18:43] *** georgiePorgie <georgiePorgie!~george43g@120.158.182.109> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[15:19:30] *** MagickPanda <MagickPanda!~MagickPan@114.240.61.59> has joined ##C++-general
[15:21:44] *** hero100 <hero100!~hero100@27.38.244.128> has quit IRC (Ping timeout: 265 seconds)
[15:22:41] *** georgiePorgie <georgiePorgie!~george43g@120.158.182.109> has joined ##C++-general
[15:26:59] *** Gitinh4 <Gitinh4!~Gitinh4@net-37-116-65-39.cust.vodafonedsl.it> has joined ##C++-general
[15:26:59] *** Gitinh4_ <Gitinh4_!~Gitinh4@net-37-116-65-39.cust.vodafonedsl.it> has quit IRC (Read error: Connection reset by peer)
[15:27:37] *** Madars <Madars!~null@unaffiliated/madars> has joined ##C++-general
[15:28:09] *** csknk <csknk!~csknk@unaffiliated/csknk> has joined ##C++-general
[15:29:28] *** georgiePorgie <georgiePorgie!~george43g@120.158.182.109> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[15:30:24] *** pulse <pulse!~pulse@unaffiliated/pulse> has joined ##C++-general
[15:40:33] *** georgiePorgie <georgiePorgie!~george43g@120.158.182.109> has joined ##C++-general
[15:45:07] *** hero100 <hero100!~hero100@27.38.232.30> has joined ##C++-general
[15:46:14] *** BOKALDO <BOKALDO!~BOKALDO@87.110.91.125> has joined ##C++-general
[15:47:49] *** CodePoint <CodePoint!~CodePoint@168.30.5.11> has joined ##C++-general
[15:49:13] *** Madars <Madars!~null@unaffiliated/madars> has quit IRC (Ping timeout: 272 seconds)
[15:52:51] *** condy <condy!~condy@unaffiliated/condy> has joined ##C++-general
[15:55:12] *** condy <condy!~condy@unaffiliated/condy> has quit IRC (Client Quit)
[15:57:57] *** trinityblade <trinityblade!~trinitybl@65.220.10.3> has joined ##C++-general
[15:58:21] *** drincruz_ <drincruz_!~adriancru@104.129.137.82> has joined ##C++-general
[15:58:57] *** tane <tane!~tane@dslb-002-206-072-121.002.206.pools.vodafone-ip.de> has joined ##C++-general
[16:00:44] *** zap0 <zap0!~zap0@14-201-222-143.tpgi.com.au> has quit IRC (Quit: zap0)
[16:01:17] *** hurfdurf <hurfdurf!~hurfdurf@c-24-8-165-202.hsd1.co.comcast.net> has joined ##C++-general
[16:02:03] *** AbleBacon <AbleBacon!~AbleBacon@unaffiliated/ablebacon> has joined ##C++-general
[16:04:25] *** ImQ009 <ImQ009!~ImQ009@unaffiliated/imq009> has joined ##C++-general
[16:05:44] *** Gvidon <Gvidon!~Gvidon@unaffiliated/gvidon> has quit IRC (Quit: Lost terminal)
[16:06:56] *** Tazmainian <Tazmainian!~Tazmain@unaffiliated/tazmain> has quit IRC (Quit: Leaving)
[16:07:49] *** quarterback <quarterback!~quarterba@unaffiliated/quarterback> has joined ##C++-general
[16:08:13] *** linarcx <linarcx!~linarcx@151.241.236.244> has quit IRC (Ping timeout: 272 seconds)
[16:12:08] *** pncl <pncl!~pncl____@87.101.168.13> has joined ##C++-general
[16:16:52] *** led_dark_1 <led_dark_1!~Thunderbi@217.66.160.14> has joined ##C++-general
[16:20:54] *** Madars <Madars!~null@unaffiliated/madars> has joined ##C++-general
[16:28:23] *** jakehemm_ <jakehemm_!~jakehemme@68.235.43.94> has joined ##C++-general
[16:34:05] *** quarterback <quarterback!~quarterba@unaffiliated/quarterback> has quit IRC (Remote host closed the connection)
[16:37:59] *** Madars <Madars!~null@unaffiliated/madars> has quit IRC (Ping timeout: 268 seconds)
[16:39:30] *** ville <ville!~ville@176-93-46-126.bb.dnainternet.fi> has joined ##C++-general
[16:40:19] *** Serpent7776 <Serpent7776!~Serpent77@78-11-8-249.static.ip.netia.com.pl> has quit IRC (Quit: Leaving)
[16:41:10] *** purplex88 <purplex88!~purplex88@unaffiliated/purplex88> has quit IRC (Remote host closed the connection)
[16:42:11] *** artzel <artzel!~4rtzel@86.57.255.92> has quit IRC (Remote host closed the connection)
[16:43:17] *** CodePoint <CodePoint!~CodePoint@168.30.5.11> has quit IRC (Quit: WeeChat 1.9.1)
[16:44:08] *** rfuentess <rfuentess!~rfuentess@2a01:cb14:84b:7f00:56b2:3ff:fe09:96ec> has quit IRC (Remote host closed the connection)
[16:45:38] *** georgiePorgie <georgiePorgie!~george43g@120.158.182.109> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[16:48:08] *** gehn <gehn!gehn@gateway/vpn/privateinternetaccess/gehn> has joined ##C++-general
[16:48:30] *** flam <flam!~flam2212@118.189.141.51> has joined ##C++-general
[16:48:38] *** blackandblue <blackandblue!~batdownh@gateway/tor-sasl/blackandblue> has joined ##C++-general
[16:49:13] *** Gitinh4 <Gitinh4!~Gitinh4@net-37-116-65-39.cust.vodafonedsl.it> has quit IRC (Read error: Connection reset by peer)
[16:49:39] *** Gitinh4 <Gitinh4!~Gitinh4@net-37-116-65-39.cust.vodafonedsl.it> has joined ##C++-general
[16:55:30] *** ville <ville!~ville@176-93-46-126.bb.dnainternet.fi> has quit IRC (Ping timeout: 265 seconds)
[16:57:55] *** Lord_of_Life <Lord_of_Life!~Lord@unaffiliated/lord-of-life/x-0885362> has quit IRC (Ping timeout: 265 seconds)
[16:58:17] *** snover <snover!~snover@unaffiliated/snover> has quit IRC (Ping timeout: 246 seconds)
[17:02:15] *** Lord_of_Life <Lord_of_Life!~Lord@unaffiliated/lord-of-life/x-0885362> has joined ##C++-general
top

   February 18, 2020
< | 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