« first day (940 days earlier)      last day (4010 days later) » 

11:07 AM
That's what I'm trying to do
But as Robot said, it's impossible.
You have to generate your own sequence.
There's no compile-time index for the parameter pack unless you make one yourself.
Which means std::get<Ts>( mytuple )... will never, ever work.
The end. =[
=[[[[[[[[
 
Xeo
Also, indexing by type has the problem of ambiguity with multiples of the same type.
 
@Xeo Yes. Which is why indexing information should be attached with these packs, since the compiler knows the order in which they've been specified.
 
But now I'm asking for Fairy++ features. :D
I thought that the talk of index generation for the standard was so that that kind of useful information was going to be tacked on in the variadic parameter packs
Which would enable really awesome things to happen when you're given a list of types, rather than just boring type expansion.
Looks silly.
 
yes
I just noticed I posted it in the wrong room too.
 
11:13 AM
Quick delete it all!
 
:D
All the room owners can see it though so kinda pointless.
 
MFW my tests don't work.
 
user142019
Damn.
 
user142019
My parser is broken.
 
user142019
Oh wait nevermind.
 
11:18 AM
Hm.
My tuple isn't getting matched with these variadic arguments.
 
Xeo
I wonder why you're even actively punshing yourself in the face with MSVC buggyadics.
Are you a masochist?
 
Apparently he is.
Also, driving test tomo, I'm not sure what soup I'm going to make of it this time.
Not sure if I'm better at programming or driving :|
 
mess
whatever you wanna call it
 
Where I come from, there's this thing called a "wine soup", which basically amounts to a large bowl with wine and bread in it.
Don't make one of those.
 
11:25 AM
@ThePhD Silence. Serene silence
 
@R.MartinhoFernandes It's almost a fondue!
 
@R.MartinhoFernandes oh I see. Yea I'll try not to make one of these.
 
Xeo
@R.MartinhoFernandes Chunky salsa?
 
11:26 AM
@Xeo These are nice things to learn and nicer things to have when developing.
Also, it's kind've important for the functor chain I want to build...
 
Xeo
When they actually work
 
@TonyTheLion Blue balls
 
@LucDanton It's served cold.
 
Damn, now I want to eat some fondue.
 
@Xeo Well, the work only has to be done once, right?
 
Xeo
11:29 AM
That's not what I mean
 
Also, this template error is really confusing me. :c
 
Xeo
MSVC's November CTP is so fucking buggy, it makes no sense to me that you're trying anything even mildly complex with it
7 mins ago, by Xeo
I wonder why you're even actively punshing yourself in the face with MSVC buggyadics.
 
;~;
 
Masochists are people too.
 
Yeah. Sometimes even nice
 
Xeo
11:31 AM
 
No headphones.
 
Xeo
Aw
 
1 guitar
 
Well, I do have them, but they are not plugged in my workstation, and I am lazy.
 
A lazy masochist :)
And nice too
 
user142019
11:35 AM
And want to go home.
 
fatal error C1202: recursive type or function dependency context too complex
Tee hee. I broke the compiler again. <3
 
@R.MartinhoFernandes That looks like two people raising their arms.
 
@StackedCrooked synchronous swimmers, or twins trying to block a volleyball; parents who don't know how to handle their raging teen after he just found the gun in the drawer, I could go on
 
11:43 AM
oh my derp answer got 4 upboats and an accept
that escalated quickly
 
@StackedCrooked It's a mutant.
 
@sehe @Andy is right.
 
okay, it seems I relied a bit too much on valgrind there: stackoverflow.com/q/8947579/85371 (I hate to see new pitfalls slipping through the cracks in C++11) — sehe 18 secs ago
@BartekBanachewicz Meh I worked that out ^ by now :)
@R.MartinhoFernandes actually, it's just an extreme close up of a robot face, no?
 
This shared_ptr<T[]> business is stupid.
Is it a defect?
 
it's make_unique case
No one thought it's important
 
user142019
11:51 AM
I'm confused.
 
@AndyProwl Ah: And it _does work_ as expected for std::unique_ptr<T[]>. Sigh. There was my confusion. Valgrind was right after all :) — sehe 36 secs ago
 
so it actually should be in there?
 
@rubenvb In my view, yes. But it's not technically a defect, like the absense of make_unique
 
Lol
I took the arrow the size of my leg
and shot it at someone
 
Xeo
@Xeo: I guess I was mislead by the fact that the documentation for boost::phoenix::let uses a very similar example. I had a problem and though lets use lambda, and then I had two problems... — Björn Pollex 2 mins ago
 
11:52 AM
it hit so hard they went flying
 
user142019
Why is type here not standard layout? coliru.stacked-crooked.com/…
 
and fell off
So fun. <3
 
> When using inheritance, only one class in the whole inheritance tree can have non-static data members,
 
user142019
OIC.
 
user142019
cppreference didn't mention that I think.
 
user142019
11:54 AM
Dankeschön.
 
99
A: What are Aggregates and PODs and how/why are they special?

R. Martinho FernandesWhat changes for C++11? Aggregates The standard definition of an aggregate has changed slightly, but it's still pretty much the same: An aggregate is an array or a class (Clause 9) with no user-provided constructors (12.1), no brace-or-equal-initializers for non-static data members (9.2),...

One more?
whistles
 
user142019
One more bounty?
 
@rightfold Upvote. For 99 -> 100.
 
user142019
What's so special about 100?
 
10*10
 
11:56 AM
Badge.
 
Is the reason std::rend and std::rbegin don't exist because of C-style arrays?
 
I think it's just negligence.
 
No: std::reverse_iterator can adapt a preexisting iterator.
 
Why would C arrays prevent that?
 
Xeo
@Rapptz You can reverse-iterate through arrays just fine with reverse_iterator. Oversight, I think.
 
11:58 AM
ergh... life
 
@R.MartinhoFernandes And because they wouldn't know where to stop? std::cend? std::cbegin()? etc.
@Rapptz Ask on SO, free rep, I wager
 

« first day (940 days earlier)      last day (4010 days later) »