Comment Re:Given how C++ is taught. (Score 1) 345
17 years? Talk about a newbie - I've been a member of WG21 for longer than that.
17 years? Talk about a newbie - I've been a member of WG21 for longer than that.
I have explained; I'm not wrong.
And I certainly wasn't suggesting you need to "look into the implementation of make_unique in your compiler's version of the STL".
But hey, apart from the small detail of everything you wrote, you're completely right.
G2P says:
You should almost never see a new
You claim:
That is complete nonsense.
At some point you have to allocate the objects/memory. And for that you need a "new".
To demonstrate that you're wrong, I mention make_shared as an example of allocating objects without your having to see new.
Was that really so hard to figure out?
Mod parent "+1 - it's not cynicism when it's true"
YOMANK!
Would you go to slashdot.org/macdonalds and expect a page about hamburgers to come up?
No. I'd expect a link to an article on dice.com.
see, for example, std::make_shared. http://en.cppreference.com/w/c...
I hadn't seen it. I thank you.
Strider's entirely correct here...although I don't think this actually counts as "Insightful", more a "statement of the bleedin' obvious"
If the students actually care about what they're learning
They don't.
unless they are blithering idiots
They are.
they'll use their critical thinking
They have none
go learn what extra they may need all by themselves.
They won't.
... if the iPlayer app actually worked well.
But it doesn't - even on a fast (~70MB/sec), wired connection it constantly stutters and drops. Netflix, on the other hand works flawlessly (and costs rather less than the TV licence fee)
Bad example: these days 'news' is implicitly excluded when you search for slashdot
In fact, that 'certain amount' is so large that you actually need a KoolAidFactoryManagerHelperFactoryBuilder.
I'm pretty sure I'm not capable of doing their job.
That gives you something in common with them...
You're also going to need some way to keep the kids from screwing
FTFY...
The solution of this problem is trivial and is left as an exercise for the reader.