@Morwenn If you are extremely bored you could tell me why this doesn't compile. Reference is this, None of the code compiles as written, but it supposedly should, and I don't know if gcc 7.2 just doesn't support it yet or I'm doing it wrong.
Seriously though, I know some slick genius type people that code that are brilliant and smoke out 420. I'd prefer a stoned coder over a drunk coder any day personally. Maybe a little alcohol buzz buzz is fine though but never a super drunk coder. Highcoding!!
@nwp The code looks odd to begin with. The deduction guide enables you to deduce from a func_deleter constructor argument, but no corresponding constructor has been set up
Actual situation: I wrote a C++14 library back then and I'm just trying to get it to work with the latest MSVC build just in case people might want to try it without having to resort to some other compiler.
In school I was taught C++ using Turbo C++ 7 . When I entered college , I found out that it was out dated . I would like to know the changes which have been implemented in C++ 14 in GCC or Dev C++ compiler.
Example : conio.h does not exist in C++98, C++14 etc. instead we have using namespace std...
@EnnMichael well, it most definitely requires work (if only #import)
@EnnMichael So it wasn't you that upboated?
@Puppy Can you please move questions to the questions room? It's ok if you don't like that room, but you're sabotaging something that is working to your advantage.
@Puppy I asked you the other day. You did it again. So, I think it's fair that I draw conclusions.
More people are owners in the questions room, so it can be moderated. Bin contains actual trash so it's "unsafe to browse". Just a few common sense things that make a difference.
@sehe I'm just saying, them not being different in practice does not mean it wouldn't make sense to differentiate in corresponding cases, because moving questions to the trash bin makes a bit of a different impression on the asker, I believe
And we seemingly don't want to piss of newcomers... ? :p
@ЯрикТроф Not with that particular syntax, I dont do C but when I put it in the online compiler it wouldnt accept it, but it did accept: double first = 2, second = first; — Borgleader2 mins ago
I mean, it's weird that you'll get fired for saying cops kill black people, but you won't get fired for actually ki… https://twitter.com/i/web/status/903753054620712964
This is very good material also, if I could accept both answers I would. I upvoted yours. You are correct in assuming NP is number of points and NE is number of triangle elements. This data represents a Delaunay triangulated mesh. — Reniel Calzada10 mins ago
@privetDruzia I found that using the python wrapper for OpenCV is much easier, and doesn't cause large performance degradation as long as you're clever
what s funny imo is that many universities are as far as I ve heard are ranked, based on the number of publications in English and their citations. Which means that most of universities in eg Russia will never reach the top.
boost is a library that provides stuff for multithreading, to which I am fairly new (maybe I should have asked this in the other room?)
This article (https://mayaposch.wordpress.com/2011/11/01/how-to-really-truly-use-qthreads-the-full-explanation/) states: By the way, one extremely important thing to note here is that you should NEVER allocate heap objects (using new) in the constructor of the QObject class as this allocation is then performed on the main thread and not on the new QThread instance, meaning that the newly created object is then owned by the main thread and not the QThread i…
Why does this seem to be a big deal?
I use new to create new threads in my constructors usually, just because that way everything is grouped. And I start them in other functions.
@privetDruzia It's not all bad, but it'd serve you well to look at task-based schedulers (e.g. executors proposal like github.com/chriskohlhoff/executors)
Look at frameworks that don't come with Java-ambition-induced ballast, and then know what parts you need to avoid when using Qt.
The truth is, most of the time you can completely do without these abstractions in Qt
The same goes for things like signals/slots, ownership semantics etc. As far as immediate GUI elements are concerned, you will want to adhere to it (because QtCreator has nice tools for it (?)) but other than that, stick to portable C++ un-Qt-encumbered
personally I think the UI side is still shit and they should lern2React, but to be fair, React is very new and Qt is very old, and there's really not much in the way of competition