« first day (878 days earlier)      last day (4056 days later) » 

8:00 PM
@Cicada Don't give him ideas.
 
@Cicada infinite loop on stackedcrooked's machine
 
Hmph. I need a new project.
 
'evening!
 
> Winners are ChrisF, Gordon, Flexo, and Andrew Barber.
@Flexo Congrats
8
 
Flexo is back?
 
8:01 PM
Indeed
 
Haven't seen him in like, ages
SO DID I
MARRY ME
 
I also voted for Flexo.
So we're gonna have to FIGHT
 
I voted for... I didn't vote. :(
 
@EtiennedeMartel J'ai commencé le hockey sur glace ce matin, c'est vachement casse-yeule dis donc ! Sont fous ces canadiens
 
Oh dear, I was looking for the C++ lounge... I'd better start a'searchin
 
8:03 PM
@Cicada T'as commencé à jouer?
 
Oui
 
C'est assez pathétique jusque là, je me bats pour tenir debout :D Mais c'est amusant !
 
onebox needs to add in google translate links.
 
are the elections over? I was really wanting to actually vote this time
 
8:04 PM
@BoltClock thanks - I hope I can live up to it!
 
glad @flexo got into power
 
@Flexo I'm sure you'll be fine :)
 
@Cicada Je doute que tu te rendes jusqu'à faire des mises en échec
 
@flexo speech!
damn French ¬_¬
 
who is @Flexo again?
did he have a different nick before?
 
8:07 PM
awoodland
 
@TonyTheLion The SO representative of the malicious interests of the Lounge workgroup.
 
@CCInc Somehow, it turned into Zoidland while I was out.
 
@BoltClock I do seem to remember him
 
So, now we'll get to know who's flagging.
 
@DomagojPandža ahahahah
@EtiennedeMartel You're the only one on Mumble and you've not got sound turned on
 
Etienne, ye must join us on Mumble.
 
@BoltClock That was quick
 
@TonyTheLion I'm on Mumble at home. But I'm physically at work.
So I'm not really there.
 
Xeo
@BoltClock Why did he have to change his name?! :)
 
8:13 PM
So, we have a ClickBelt on Mumble. Refusing identification.
 
I need one more upvote to repcap
damn
 
@TonyTheLion downvoting for great justice
 
Flexo is a mod now?
 
@Cicada why is your face a manface now?
 
sexchange does wonders
 
8:14 PM
@Flexo Congratulations!
 
Xeo
@Cicada Did you go to ExpertSexchange?
 
@Cicada what the fuck?>
 
@TonyTheLion j/k
 
@ThePhD thanks
 
Why isn't @Flexo a Smurf yet?
 
There, fixed.
 
@BoltClock The transformation takes time
 
@Cicada I accelerated it
 
I don't see him as blue.
 
Spy has been planted op success
 
8:17 PM
@BoltClock It seems you should ask Gargamel for advice
 
I have /admin on the main site, but reloading chat hasn't smurified me yet in chat
 
@BoltClock Sufficiently advanced science, or just MAGIC?
 
@Flexo Hm, weird.
 
BLUES
You're blue to me
 
Xeo
Did for me
 
8:18 PM
must be cached here for now
 
did i really introduce smurf as a synonym of mod? where are my ROYALTIES
 
Ell
@FredOverflow well. It has internet if I plug my laptop (happens to be ubuntu and work :P) into it and make a wireless->wired bridge xD
 
I need to implement a genetic algorithm for graph colouring
 
Yeah, I cache refreshed and you became smurf.
 
8:19 PM
I thought it might be interesting but nope it's boring
 
Mumble rumble!
 
Ell
@rubenvb Well I guess I have no reason to switch anymore. And imho linux mint is just more complete after installation - flash/java/other proprietary shiz already installed
 
Hokay, refresh and he became a smurf!
 
Xeo
@TonyTheLion First, if you do ::X, you're asking for global X, meaning you'd need a template argument list after it
 
oh 3rd times a charm
 
8:20 PM
@Xeo but what template arg do I give it? <T, F>?
 
Xeo
Second, there is no F member for X, it's only a template parameter - it's not magically accessible through the same name.
 
@R.MartinhoFernandes: What have you done? Why have you switched to the dreaded Git?
:(
I mean with the Ogonek library.
 
Xeo
@TonyTheLion If you're inside the class, just do X:: instead of ::X:: to access a member
Injected class name and shit
 
typedef typename X<U,F>::F<U, F> stream; this seems to work
 
I'll have you know I'm eating a home-made banana split with a fuckload of chantilly
Because yes
 
Xeo
8:21 PM
@TonyTheLion Err
 
@TonyTheLion You mean something like this?
 
Xeo
Wtf, that should definitly not work
 
@TonyTheLion I can't figure out what you're trying to do there
 
Xeo
F isn't a class template
 
Welp.
 
8:22 PM
@JerryCoffin I tried that, and compiler barked a me???
 
Now I have to make a Skeletal system.
@Xeo You never told me to do anything from my corner yet. :c
 
@Xeo what? F is a type. And he typedef'd it. What's the problem?
 
Xeo
You being in a corner is good enough for now
 
@JerryCoffin You a word
 
;~;
 
Xeo
8:23 PM
1 min ago, by Tony The Lion
typedef typename X<U,F>::F<U, F> stream; this seems to work
 
@MooingDuck actually I'm trying to make sense of a standard quote by attempting an example
 
Xeo
1 min ago, by Xeo
F isn't a class template
 
but I'm failing
 
@Xeo oh I see now
 
@EtiennedeMartel: Achievement unlocked
 
8:24 PM
@Borgleader What credits is that for? :O
 
The latest tomb raider game
 
Sexy.
 
I was trying to understand this quote:
> A default template-argument shall not be specified in the template-parameter-list of the definition of a member of a class template that appears outside of the member’s class.
 
@TonyTheLion that makes no sense at all
 
@MooingDuck Yes, so why did it compile?
standard quote from 14.1.9
 
8:25 PM
@TonyTheLion I don't believe it did
@TonyTheLion "A default template-argument shall not be specified in the ...definition ... that appears outside of the member’s class."
 
@MooingDuck it did fail, I probably forgot to press compile... meh
 
@Borgleader T'es où là dedans?
 
@MooingDuck how can that even be?
 
Ell
If I have class A and class B, how do I let A call B's private constructor? What would the declaration look like?
 
@EtiennedeMartel Intern programmer Eric Tremblay :3
 
Ell
8:27 PM
friend eludes me as to where to put it :3
 
@Ell oh friend
 
@Borgleader Okay.
 
@Ell inside of B, have friend A;
 
Ell
Right okay
Thanks :)
I don't understand why my public static method in A can't access the private constructor of A :'(
 
user142019
8:30 PM
hey
 
user142019
sure why not
 
@Ell it should be able to.
 
OS DEAD
 
@MooingDuck ah that makes sense
 
Ell
CapPP::Interface::Interface: cannot access private member declared in class CapPP::Interface
I really suck at namespace names xD
 
8:35 PM
"I really suck at naming spaces" ftfy
 
Ell
heh
static std::vector<Interface> GetInterfaces();
I'll try it on coliru :P
 
wait, is Howard Hinnant famous? Am I debating with a famous person?
 
Yes.
 
> mfw minitech lost
 
he is a standard committee member IIRC
 
8:37 PM
uh oh, I don't think I'm going to win this debate then
 
Committee member, Standard library writer. Occasional Lounger.
 
@MooingDuck link?
 
@Rapptz mfw?
 
5
A: When writing generic code for smart pointers and pointers, how to get the simple pointer?

Howard HinnantHere's what I do to solve this problem: #include <memory> template <class T> inline T* to_raw_pointer(T* p) noexcept { return p; } template <class Pointer> inline typename std::pointer_traits<typename std::remove_reference<Pointer>::type>::element_type* to_raw...

 
my face when
 
8:39 PM
#democracy
 
@MooingDuck Yes, he's on the library working group, and pretty much the world's leading authority on rvalue references.
 
@JerryCoffin well this won't end well for me :P
 
Lol
 
Xeo
@MooingDuck Never back down against authority. Howard has been proven wrong before. ;)
 
This is going to be like when I see people try to convince Dietmar Kühl that he's wrong about iostreams :P
 
Xeo
8:41 PM
@MooingDuck Also, he's the main library developer of libc++
 
@Xeo I'm not backing down, but I've ceased insisting I'm right, and believe he will convince me.
 
Xeo
FWIW, I think your argument about subtraction makes sense
 
@ThePhD HOW DOES IT FEEL TO INDIRECTLY LOSE
 
@Rapptz I voted for Flexo, though.
 
@Xeo me too
 
8:41 PM
So I still won. :D
 
@MooingDuck Sure it will -- you'll learn something. How much better could you ask for?
 
@JerryCoffin fair enough'
 
> A template parameter pack that is a parameter-declaration whose type contains one or more unexpanded parameter packs is a pack expansion.
5
what?
 
Ell
Anyone have time for looking why I can't construct in my static method please? :3 (header: pastie.org/6464819) (source: pastie.org/6464813)
 
pack expansion is unexpanded parameter packs?
what is this gibberish?
 
8:46 PM
@TonyTheLion if you pass T...,U... to a template parameter pack, it expands those into one pack? I think? Maybe?
 
Don't ask me
the quote is from 14.1.15
 
@TonyTheLion no wait, maybe T<U...>...?
 
Xeo
template<class... Ts>
void f(Ts...){}
//     ^^^^^ parameter declaration
//     ^^ unexpanded parameter pack
@Tony @MooingDuck ^
 
@Ell line 34 in sourcfe?
 
@Xeo where is the pack expansion?
 
8:48 PM
@TonyTheLion In the arguments
 
oh ffs
 
Xeo
@TonyTheLion The parameter declaration itself
 
@Ell constructor takes pcap_if, and you're giving it a pcap_if_t?
 
Xeo
> A template parameter pack that is a parameter-declaration [...] is a pack expansion.
 
Ell
@MooingDuck that's a good point, but in actuality they are the same
 
8:49 PM
@Xeo so is that the trick to understand Standardese, leave words out of the sentence until it makes sense?
 
Ell
compiler error doesn't give me a line number for some reason, just references xmemory0. I'll try without using emplace()
 
Xeo
@TonyTheLion Not really
 
ah ok
 
@Ell make the constructor public, if the problem goes away, then something is insane. Otherwise, you know the error has nothing to do with friend/public/private.
@Ell visual studio?
 
Xeo
I just wanted to highlight about where it says that the parameter-declaration is the pack expansion. :)
 
Ell
8:50 PM
@MooingDuck I have done, and it is insane :P
@MooingDuck Yeah
 
So many caps in that code base.
I feel like I'm getting yelled at.
 
@Xeo yea I got that
 
Ell
Ahh yeah. the emplace_back was causing the error I think. I changed it to push_back and it works
 
CapPeePee?
 
Ell
Hmm. That shouldn't be. Is that a compiler bug?
@Rapptz Yeah xD
 
Xeo
8:51 PM
@Ell What's the code?
 
@Ell full error text is in the "output" window. The "error" window is merely summaries. open the output window (view->output), go to the error window, double click the error, select the output window, and it shows you ALL of the details in their horrible verboseness.
 
Why did the standard committee reinvent Chinese using English language tokens?
 
Xeo
@MooingDuck: I just thought of a reason where smart_ptr - 1 makes sense
 
@Ell is pcap_if copiable?
@Xeo :(
 
What are you making Ell?
 
Ell
8:52 PM
@MooingDuck It's a c struct, so yes
 
Ell
@MooingDuck Aghhh all the verboseness!
 
Xeo
@MooingDuck We shouldn't constrict the notion of a "smart pointer" to shared_ptr and unique_ptr, i.e. resource handlers.
 
@Ell then I'm out of ideas
 
Ell
@Xeo line 34 of pastie.org/6464813
(Accompanying header pastie.org/6464819#1)
 
8:53 PM
@EtiennedeMartel I hated that Tropes video
 
@Xeo if it's not a resource handler, there's no reason for a owning pointer. A non-owning pointer is an iterator.
 
Ugh that video and the discussion on the forums I visit made me mad
 
Xeo
@MooingDuck Says who?
Also, "smart pointer" doesn't mean "handles resources"
 
@Xeo does in my mind. What other definition can you think of?
 
@Rapptz It wasn't exactly good, yes. But harassment and death threats?
 
Xeo
8:53 PM
An iterator is, in fact, also a smart pointer.
 
@EtiennedeMartel It's the Internet dude.
People troll around like that on a daily fucking basis
 
@Xeo according to who?
 
@Rapptz You say that like it's required.
 
Xeo
@MooingDuck proxies
 
How is anyone remotely surprised in 2013?
@EtiennedeMartel It's bound to happen.
So pretending to be surprised by it is really fucking amazing to me.
 
8:55 PM
Isn't that a textbook example of defeatism?
 
oh hey, wikipedia defines smart pointer. As basically what I called an iterator. Excellent. I lose.
 
Xeo
@MooingDuck It's smarter than a dumb pointer, it knows how to move across nodes for example, or even more complicated shit - all the while still behaving like a pointer.
 
Also it goes both ways.
Her fans are batshit insane.
 
@Xeo I disagree.
 
Well some of them.
 
8:56 PM
@LucDanton Wikipeida defines a smart pointer as "an abstract data type that simulates a pointer while providing additional features, such as automatic memory management or bounds checking."
 
@EtiennedeMartel I really dislike that dude. :/
 
^ I was watching that yesterday
 
Ell
Me too
 
@MooingDuck That does seem sensible.
 
Xeo
@LucDanton And you're free to do so. :) Where would we be if everyone agreed?!
 
8:57 PM
@DomagojPandža Oh man, I don't think there are any decent Kotaku writers anymore
At least none that I know of.
 
@MooingDuck right. Emphasize "such as" - so smart pointers do not necessarily have to do with memory management. => iterators are smart for iterating ;)
 
(avoiding the term smart pointers for the moment) Basically, I was debating in terms of keeping the function safe for all resource owning pointers, but now that he/you bring up iterators, I'm growing less certain those are separate use-cases, and that it's possible to keep the owning-pointer version safe.
 
You know what I haven't seen in Video Games?
 
user1182183
Finally done with my powerpoint
 
user1182183
@ThePhD boobies?
 
8:59 PM
The first one is a black main character that isn't stereotypical (soldier, meathead, etc.)
 

« first day (878 days earlier)      last day (4056 days later) »