« first day (1707 days earlier)      last day (3258 days later) » 

7:01 AM
you can add an extra redirection
using Join = typename joiner<Lists...>::type; or something
that way you keep the same syntax
 
yeah, I did.
also, std::conditional_t :p
you scrub :p
 
lol right the awful named metafunctions
 
meh fold expressions
"write one line instead of 6"
 
user1804599
Hello girls.
 
user1804599
Fold expressions are an abomination.
 
user1804599
7:16 AM
What a terrible idea.
 
@milleniumbug that was so stupid
rightfold levels of dumb
 
user1804599
Do fold expressions also work with vectors?
 
....? they're for template parameter packs
 
user1804599
Exactly.
 
user1804599
The 1% use-case.
 
user1804599
7:19 AM
Complicating the language for something as useless as this is incredibly moronic.
 
user1804599
What should be done instead is taking away lots of cruft.
 
user1804599
Until decades are dedicated to solely removing features: R.I.P. C++.
 
good morning
 
good night
 
It's not even cute anymore bub.
 
7:24 AM
:D variable templates
template<typename A, typename B>
constexpr bool is_same = std::is_same<A, B>::value;
 
constexpr <cmath> when
how many proposals do you guys think Concepts Lite ruined?
 
what do you mean, proposals building on full concept support?
 
@Rapptz No, not really. I don't see anything in fold expressions that you could not do with just a recursive function or metafunction
So it's just a syntactic sugar.
 
user1804599
haha this is valid HTML 5: minecraft.rightfold.sexy
 
syntactic sugar that removes layers of recursion? I'll take two cubes, please.
 
7:29 AM
Except you write these functions once
 
user1804599
HTML minifiers should remove html, head and body tags.
 
And they're 5 lines at most
 
@milleniumbug no you don't
what the hell?
you write it N times for every function you want to do
this isn't just a fancy write once and forget std::apply.
 
hi all can someone help me with opencv
 
user1804599
@melak47 XD nice
 
user1804599
7:31 AM
I'd prefer a constexpr function, though.
 
@rightfold I had that before, but then I realized - variable templates are like template aliases
 
user1804599
No.
 
@Rapptz IOW a library solution could work as well
 
user1804599
If you want proper aliases, use D.
 
so if I don't have to type typename bla::type, why should I type whatever::value (or whatever())
 
7:33 AM
@milleniumbug no it doesn't
Have you ever written these functions before?
 
FYI: std::apply is already in C++17.
 
@milleniumbug all your code should be reusable, so you write all your code only once. so you could write it all in assembly
 
How would you fancy library solution deal with this?
 
@Rapptz "already in C++17"
 
7:36 AM
@buttifulbuttefly is it not?
pretty sure it was
 
It's the "already" that makes me smile
 
Also I forgot std::apply is the stupid expand tuple to function args one
 
user1804599
@Rapptz Better question: how often do you use variadic templates for that instead of vectors or iterator pairs?
 
hwllo
hello
 
user1804599
(hint: never)
 
7:37 AM
can someone help me please
 
with what?
 
yes I would be glad to
 
thank you
 
@rightfold hint: every so often
 
okay
here the story
 
7:38 AM
I have min(Args...) and max(Args...) etc.
 
Ell
You may be better recieved on Stack Overflow
 
user1804599
Ugh.
 
@tektoktek no
 
user1804599
 
what am first time here
what should i do ?
 
7:39 AM
ask ask ask
ignore them
 
user1804599
You should read the rules.
 
ask on so
 
they're trying to discourage you
 
i have my code this is it
 
7:40 AM
post it here without formatting
 
user1804599
inb4 giant wall of code
 
lol
here we go
 
perfect
 
Xeo
1 message moved to bin
 
get out
 
7:40 AM
kicked
 
Ell
Woah
 
user1804599
now bin this entire discussion
 
he fell into cicada's trap
 
Ell
@buttifulbuttefly you meanie
 
Xeo
7:40 AM
@buttifulbuttefly We should kick you for that, too.
 
there's a first to everything!
 
Ell
You gave him hope
 
you really should
 
now we will never know his question
rip
 
Ell
It was sowmtbing about that imaging library I think
 
7:42 AM
oh whoa
 
Ell
Computer vision I mean
OpenCV
 
morning
 
Yeah I could actually have helped him with OpenCV lol
 
oh gawd opencv
 
Ive always wanted to play around with OpenCV
 
7:43 AM
It's all youguis fault
 
Ell
@TonyTheLion morning
 
but a lot of people use it for making mobile apps and stuff
 
Ell
@buttifulbuttefly I had a dream with you in it last night
 
so its not really hipsterish enough for me
 
@Ell tell me
 
Ell
7:43 AM
You called my parents to arrange a transfer to hong Kong
 
fold expressions just got a bit cooler
template<typename... Args>
using And = std::integral_constant<bool, (Args::value && ...)>;
 
@Ell still better love story than twilight
 
Ell
You had some bad news which made them want to send me away
I was shouting at them "don't listen to her!"
It was very weird and surreal
 
user1804599
@Ell may you ever decide to not ever join again, please put your inventory in a chest. :P
 
@Ell he probably was trolling
 
Ell
7:45 AM
@rightfold okay :P
 
@Ell Oh wow if I troll people even in their dreams this is getting kind of out of control
 
is it that time of day where we go on hackernews and /r/programming
 
yessss lets go
 
@Ell sup?
@Prismatic ewwwww
 
HN is so annoying to browse compared to reddit
I have to keep clicking "parent" to get to the submission if I'm unfortunate enough to end up in a single comment link.
 
Ell
7:46 AM
@TonyTheLion I had a weird dream about cicada :P besides that, not much. Hbu?
 
Reddit just gives it to me.
 
reddit is annoying in other ways
 
The HN site does suck
 
Ell
I find Reddit lacking in interesting content
I never go on HN though
 
there was some slashdot alt that was pretty good... I forget what it was called
something something lobsters.com
 
7:47 AM
@Ell nofink, I am trying to decide whether I should go spend a few days visiting a friend in Switzerland
 
user1804599
Maybe I should also put screenshots on the website.
 
Ell
@TonyTheLion I say go for it. What's stopping you?
 
I should make an alt that only posts "This wouldn't happen with Rust!" everytime an exploit / bug is linked on HN / Reddit
sweet
 
@Ell work....
I always feel bad for taking holidays...
I'm dumb
 
^ there we go
 
7:49 AM
> .rs
 
I was actually expecting a Rust exclusive site
 
@Prismatic did rightfold make this?
 
I did
 
@TonyTheLion who can say for sure?
 
Ell
7:50 AM
@TonyTheLion I don't think you should feel bad; if you ask for a holiday and are granted it, it means you're allowed to take it
You should feel bad if you just go without booking it or w/e the proper procedure is at work
 
@TonyTheLion I'm on holiday right now.
 
Ell
Or maybe not even feel bad, but its not a good idea probably
 
@Rapptz even if I just write it once, I prefer writing that over some head/tail recursion template that needs specialization for termination and blegh...
 
@Puppy and what are you doing with your time?
 
@melak47 me too
fold expressions are cool as hell
 
user1804599
7:51 AM
@TonyTheLion No.
 
@TonyTheLion Gonna spend some of it maintaining my flat and food and such
and the other of it playing gaems
and I'm also going home to visit my parents for father's day
 
Ell
Its fathers day when?
 
tomorrow.
 
Depends on your country
 
user1804599
 
user1804599
7:54 AM
full of morons stallmans
 
Ell
Ah fu king Jesus chisrt
That makes me so angry to read
That I CSNY even type properly
 
@rightfold ugh not this shit again
 
another moron who doesn't lock the thread after closing it
 
user1804599
7:57 AM
is dat a paedophile
 
it was so obvious from the get go there'd be nothing but shitposting
 
@rightfold crazy
 
> Hey everybody,
Seems like we have an exciting conversation going. I just got here, is there anyway I can get a tl;dr?
I hope everyone has a fantastic day!
lol
 
Can you make a constexpr thing have memory? I wanna make a constexpr function that will return an incremented value every time it is called
 
7:58 AM
lol
 
Ell
Sounds dodge
You can use that friend template hack thing
 
user1804599
 
Ell
Refp wrote about it
 
in principle, no, but there is a technique about stateful metaprogramming through friend injection
 
Oh the thread did get locked.
 
7:59 AM
> friend injection
 
Wow that's a lot of shitposting in 4 hours.
 

« first day (1707 days earlier)      last day (3258 days later) »