|
SFINAE[^] itself is a concept that has been an important part of C++ since the use of templates was seriously explored.
It basically allows the compiler to consider any potential type for the creation of a template. If an error were to occur because of one of the potential substitutions, it will simply remove that from the list of candidates. As long as there is a valid candidate to instantiate the template no error will be emitted.
The "expression SFINAE" in the C++11 standard expands the compiler support to evaluate and consider certain expressions that are known at compile-time, and therefore should be able to be resolved by SFINAE.
IMO, this is a corner-case that will be nice when it's support appears, but it is by no means something that will be sorely missed by many.
constexpr on the other hand is one that I have been waiting for from VS for years.
Dan Neely wrote: If anything in my attempt to summarize that's wrong I plead knowing just enough C++ to be dangerous.
Everything you said was accurate.
I assert that C, C#, JAVA, JavaScript and even C++ programmers know enough to be dangerous in C++.
I think the devs that are dangerous, are the ones that believe they have learned it all...
I'm pretty sure that's not you
|
|
|
|
|
I'll take a look at your article later; but thanks for the plain English short version. Unless I start doing crazy stuff with templates, that's probably all I really need to know.
Paul M Watt wrote: I assert that C, C#, JAVA, JavaScript and even C++ programmers know enough to be dangerous in C++.
I think the devs that are dangerous, are the ones that believe they have learned it all...
I'm pretty sure that's not you
I've got mixed feelings about the syntax similarities in that family too. Yeah it's nice that you can generally follow code in any of them if you know just one, and being able to jump in and bang out a few quick updates right away is convenient; but they all have enough gotchas to ambush the overconfident. And despite using it for most of the last decade I still wouldn't even claim to know all of C# Winforms programming; never mind WPF or the web bits.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Dan Neely wrote: I've got mixed feelings about the syntax similarities in that family too. Yeah it's nice that you can generally follow code in any of them if you know just one, and being able to jump in and bang out a few quick updates right away is convenient; but they all have enough gotchas to ambush the overconfident.
Yes there are both pluses and minuses in making these languages have similar syntax. It requires discipline to learn and adopt the idioms of each. Often you can look at, say, C# code and tell whether the dev came from a C++ or VB background but, ideally, you shouldn't be able to.
Kevin
|
|
|
|
|
IBM sees the future of quantum computing as having a major impact in the life sciences and chemistry fields. Sadly, all it shows are cat videos
|
|
|
|
|
Kent Sharkey wrote: Sadly, all it shows are cat videos
Dead cat videos, or live cat videos? Or do I have to watch the video to find out whether that is dead or live?
Marc
|
|
|
|
|
I was trying to figure out how to work that in, so thank you.
TTFN - Kent
|
|
|
|
|
And if you watch dead cat video, you will never know if you killed it by watching it
modified 19-Nov-18 21:01pm.
|
|
|
|
|
The very act of watching could change the state, so leave them unwatched.
|
|
|
|
|
Cat scans?
New version: WinHeist Version 2.1.1 new web site.
I know the voices in my head are not real but damn they come up with some good ideas!
|
|
|
|
|
Life sciences, chemistry, and... last but not least, intelligence fields.
|
|
|
|
|
The holographic headgear stole the show, thanks to a number of head-turning demonstrations and the unveiling of the Windows Holographic platform. Just wait until ... a certain industry ... gets their "hands" on it. Boom chicka-wow-wow
|
|
|
|
|
Kent Sharkey wrote: Just wait until ... a certain industry ... gets their "hands" on it. Boom chicka-wow-wow
There are some things that a hologram cannot replace. Enhance perhaps, but not replace
Marc
|
|
|
|
|
NSA?
We don't need no stinking drones.
New version: WinHeist Version 2.1.1 new web site.
I know the voices in my head are not real but damn they come up with some good ideas!
|
|
|
|
|
|
According to Paul Thurrott this is a bad thing[^]...
|
|
|
|
|
Microsoft today announced Project Oxford, an evolving portfolio of REST APIs and SDK that will help developers build intelligent apps. "Tommy, can you hear me?"
|
|
|
|
|
Kent Sharkey wrote: help developers build intelligent apps
Real stupidity will beat artificial intelligence every time.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Microsoft just demonstrated one of the intriguing possibilities that emerge from its single platform/multiple form factors approach for Windows 10: the ability to use your phone as your desktop computer. Really, really, really underpowered desktops
But I love the feature. It's about time.
|
|
|
|
|
Belfiore pointed out that the feature really shines when apps have been built to scale across form factors, so whether or not this ends up being a feature most would want to take advantage of really depends on developers committing their efforts to Windows 10.
Great, so in addition to writing websites that scale to mobile devices, now we need to write mobile apps that scale to desktop monitors.
I think I'm turning schizo, yes, I think I'm turning schizo...
Marc
|
|
|
|
|
When you sign up to a service with a telecomms company for your phone and broadband, you have an obligation to pay your bill every month. However, the company also has an obligation: to provide you with that service and react when something seems out of the ordinary. To be fair, AOL is *totally* worth it.
|
|
|
|
|
At its Build 2015 developer conference today, Microsoft announced Project Spartan will be called Microsoft Edge. Joe Belfiore, Microsoft’s corporate vice president of the operating systems group, announced the news on stage, and detailed Edge will have support for extensions. Very... edgy
I'll get my coat...
|
|
|
|
|
Not thrilling, but a nice conservative name.
|
|
|
|
|
I'm on the edge of my seat...
|
|
|
|
|
Adobe already has a product called Edge[^]
...I would rather they just call it Spartan
|
|
|
|
|
Microsoft Edge. Just announced at //build/. The demo video shows some glimpses of some slick features.
|
|
|
|