« first day (1512 days earlier)      last day (2268 days later) » 

9:40 AM
@HostileFork I'll get to the bot soon, but I'm off camping so connectivity and batteries are tricky :)
 
 
1 hour later…
10:48 AM
Wow, mobile devices are poor for basic web debugging tasks. The bot will be back up in 24 hrs when I have access to a real computer again. Cheers
 
 
12 hours later…
11:15 PM
Howdy people!
 
11:38 PM
@Morwenn Hey there...
Guess you saw my mention up that what I should have said was tuple. I'm back to tinkering with that
Has to be a tuple to let each unpacked arg be a different type, of course.
 
Yeah, I saw the notifications.
Unfortunately, it's already quite late here and I won't last long tonight.
 
Ever heard of std::tuple_cat ? I'm trying to figure out how to use it.
 
I remember using it once to create a C++ version of Python's zip.
 
I'm actually new to doing anything with the variadics. Of course they are relatively new so that is not surprising.
So I still do a lot of "copypasta", as a colleague calls it.
 
Well, variadics use recursion and template metaprogramming is generally close to functional programming. If it helps...
 
11:42 PM
Yes, it usually makes sense if I look at it long enough, but the syntax can make one's head hurt.
 
I understand ^^"
 
And seeing through it to figure out the error messages is, as par for the course, really hard
 
Always. Especially when there is mismatch between int and int&.
 
@Morwenn Bit of funny C++, if you've never seen and/or I've not sent it: New Balance Shoes Tell All
 
@HostileFork Eh, I've already read that one. Probably last year :D
 
11:47 PM
Cracks me up. I asked Bjarne about it at a talk, he didn't remember it. So I don't know if it's made up or not.
 
Haha, Bjarne is probably fed up with people considering that C++ sucks.
 
std::tuple<Ts...> params = std::make_tuple(
    Value(ds[0], *engine), Value(ds[1], *engine)
);
So I want a version of that where it uses the proper type out of Ts, and constructs N of them
 
You mean ds[0], ds[1], ds[2], etc... ?
This will once again require some heavy template wizardry.
 
Yup, and Ts[0](ds[0], *engine), Ts[1](ds[1], *engine)....
(in pseudocode)
 
That does not sound impossible. Could you remind me of that tomorrow? I'm a little bit tired and will soon go to sleep :/
 
11:53 PM
Will do :-)
The question is, do I need a tuple at all
Because really, the only reason I want the tuple is to unpack it
 
Ok, great :)
 
I'm just tinkering around with parts
 
Since you only construct Value instanes, I guess that an std::array<Value, N> should be enough.
 
Well I want to pass them as their proper subtype
 
If you want subtypes, then store pointers?
 
11:55 PM
They don't use virtual methods
have to save the poor little performance piggies. :-)
 
Oh, then a tuple could be enough.
I'm too tired to think anyway. I'll go to sleep. See you later :)
 
Okdokie, l8r
 
^^
 
@kealist if you saw, @onetom is still in Hong Kong (if you're still there)
 

« first day (1512 days earlier)      last day (2268 days later) »