@J.L.Louis It was written up as a TS, and has been sent to the ISO for publication. Assuming it goes well, the next round of standardization, it'll probably get pulled into the standard proper.
I have the following function that computes the mean value:
template<typename... Ts>
auto mean_of(const Ts... values)
{
return (... + values) / static_cast<double>(sizeof...(Ts));
}
With VS 2017 15.6.0 Preview 3 the following code
std::cout << mean_of(1, 3);
outputs 2.5. It seems that M...
Hi Everyone. I'm looking for GCC 8, but Fedora only provides GCC 7.2. Does anyone know a distro shipping GCC 8? Bonus points for an ARM distro shipping it.
Subject: View your last month's results.
From: "Apple Search Ads" <[email protected]>
from nwk-txn-msbadger0702.apple.com (nwk-txn-msbadger0702.apple.com [17.151.1.81])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
So, I have been hunting an issue with OSGi class loader, why can't it find org.apache.el.ExpressionFactoryImpl when the jar and the class is there. For at least 5 days.
It turns out I missed a comma when I was rearranging the manifest in pom.xml and thus the two now unseparated package names got concatenated in MANIFEST.MF and the class is in one of them. The package was not being exported.
@sehe Accepted within minutes may or may not have much effect. Accepting an answer right on the edge between poor and downright wrong certainly hurts quality though.
I'm pretty sure that's a Win32 thing, and they only did it because they noobed up and called things after the word size when really they were of a fixed size.
@StackedCrooked No, it's not the case. For example, the 8086 and 186 had 16 bit registers, but 20 bit addressing. The 286 in real mode was the same, and in protected mode it had 24 bit addressing (but still 16-bit registers).
@StackedCrooked At one time it was common and pretty much a necessity. For example, an 8-bit CPU that could only address 256 bytes of memory would have been pretty useless, so essentially all of them had 16-bit addressing.
I get a little giddy about this stuff since I'm obviously a huge hardware enthusiast. And this job gives me access to all sorts of insider stuff. I just have to impose a 6 month - 1 year delay before I can say anything about it.
I'm looking at some code, and I see the following function:
template <typename... Args>
static return_t make_return(Args &&... args)
{
// using std::forward<Args> will preserve lvalue args as such, but the point of this function
// is to make a return, where the 99.9+% case is moving a...
@Mysticial On the other hand, the mere fact that you point toward that particular item to "neither confirm nor deny" could mean something all by itself... :-)
I wanted to buy a nintendo switch and just found out that in Russia, it will be 150$CA more expensive than if I was going to buy it in Canada... And they say Russia is a poor country
Yes, not sure how many lunch they can do with the "boosters" but being able to reuse them is a clever thing. I'd guess building new ones all the time is probably a lot more expensive than reusing them
Once SpaceX will be able to send people into space, I'd guess the Russian space program will take a big hit. And Nasa might not sound as useless as right now