« first day (861 days earlier)      last day (4080 days later) » 

12:00 AM
Nobody ever
 
The Bin has.
 
@thecoshman Haven't played in a while. If I recall the last stats correctly, nobody else has either.
 
@sehe lol, didn't get the reference
 
obviously
@DeadMG that's... a bit quick. Usually we link to the hints, right
 
yeah, but that's SEP.
I'm just the Binner.
 
Xeo
12:01 AM
@LucDanton I think I would play, if I had good enough Interwebs at home. Which I'll have on Monday, yay.
 
@sehe yeah, but do you recall him ever being rational? and yes, I know what you think of my actions most of the time
 
Ell
Nvm, Im newbs. I don't see the issue with that shared ptr atomic update class thing
 
@Xeo Don't hesitate to ping me to come and play.
 
It's a bit like a shared_ptr<atomic<T*>>. Or atomic<shared_ptr<T>>.
 
12:03 AM
@sehe He always rage bin.
 
@thecoshman wow. I thought you were planning on blowing your eardrums. Whatever happened to plan A?
@R.MartinhoFernandes well, how many compilers/libs already implement that? How old is moost?
 
Xeo
@LucDanton kk
 
@sehe despite having the writing skills of a dead fish, I can read
@EtiennedeMartel s/rage/dick/
 
...
 
@thecoshman Doesn't sound too nice.
 
12:05 AM
@EtiennedeMartel nor is being a dick and insta-binning
 
@thecoshman rage tracy
 
@thecoshman Indeed.
 
@StackedCrooked who you calling tracy?
 
Xeo
Though I'm already "booked" for the beginning of the week, it seems. :o Some new adventure map is out and a buddy wants to play it.
 
12:06 AM
I think he doesn't even care if someone here finds a question interesting. Question? Bin!
 
@thecoshman are you drunk?
 
Xeo
First thing she asked when she heard I finally got internet.
 
Why is it even possible to edit audit messages
Who thought about it and went "oh yeah that sounds like a good idea"
 
@Bartek not really... Glut increases size, and reduces performance (not by much though)... And Glew removes the low level API by adding abstractions... Also it is not useless, the BITMAP is normally updated every frame, or iteration, my proposal is a bit advanced to some, however it would indeed raise FPS (though I like to add a loop to prevent hogging CPU). Besides Glew will be dropped soon, and outdated (like Glut)... My suggestion is NOT TO RELY on such "utility" headers. — Mitch 16 mins ago
 
@sehe I actually do wish I was
 
12:07 AM
Hello, Lounge<Haskell>!
 
I am amazed by the load of bullshit he is able to put in the one comment
 
@CatPlusPlus has it been asked on meta?
 
@Code-Guru hi there
 
@BartekBanachewicz well, both GLUT and GLEW are shit
 
@BartekBanachewicz I love how he drivels on about performance and then goes and uses glBegin
 
12:08 AM
@Mitch Libraries become outdated out the time. It doesn't mean they'll catch fire and stop being usable. — Etienne de Martel 6 secs ago
 
@thecoshman still better than using WinAPI, FFS. Also, I didn't really recommend any of them
 
@Code-Guru do you wish to proceed or get funky?
 
@CatPlusPlus Go on and read his "advanced proposal"
 
> You can draw everything onto a separate bitmap (only when the view changer etc) then bit-blt that onto the actual Window Device Context (like double buffing except only when changes are made)
BRILLANT
 
@BartekBanachewicz didn't read the context. But there are plenty of windowing options out there
 
12:09 AM
@CatPlusPlus ikr
 
Xeo
@EtiennedeMartel s/out\s/all /?
 
@CatPlusPlus 80's called, they want there cutting edge technology back
 
MUST NOT ABSTRACT
 
xD
 
> my proposal is a bit advanced to some, however it would indeed raise FPS (though I like to add a loop to prevent hogging CPU).
 
12:10 AM
@Xeo I keep saying weird stuff.
 
I will frame that one and hang on my wall ^
 
@BartekBanachewicz That's... something.
 
o_O
 
@CatPlusPlus lol, double buffing.
 
Wow, that guy's retarded.
 
12:11 AM
HUFF BUFF
 
yea, kind off
 
Let's add a loop
To prevent hogging the CPU!
5
 
> I am a pretty good programmer (C++ is my favorite)... I don't ask questions related to real issues.
 
@R.MartinhoFernandes bluffing is no loling matter
 
ahahahahaha
> I only do structured READABLE code. Readable and highly optimized.
 
12:11 AM
I'm so fucking bored, btw.
 
@sehe A magical loop, Shirley.
 
Peeps, what's the source here?
@EtiennedeMartel A strange loop
 
@R.MartinhoFernandes well, you are in the lounge :P
 
Xeo
@R.MartinhoFernandes Play Fairy Bloom Freesia! :D
 
Readable and highly optimized.
highly optimized.
*optimized*
 
12:12 AM
Oh god. And the pirate keeps failing to make a point
 
@thecoshman Let's get funky!
 
@BartekBanachewicz Those two never go together. otherwise, it'd just be good code
 
user142019
For some reason I always like Cat's comments.
 
@Xeo Already tried video games tonight.
 
@Code-Guru oh, you're one of those people
 
12:13 AM
@R.MartinhoFernandes I can go back to metatemplates and poke you with questions if you want :P
 
@sehe That's me!
 
ikr
 
user142019
Probably due to the fact that Cat is awesome.
 
@thecoshman well, I try to pretend to be ;-)
 
@Zoidberg because you also enjoy trollish comments?
 
Xeo
12:13 AM
@R.MartinhoFernandes Try downloading Twilight 5 and pay 900€! Note: Happened to a coworker of mine, because his wife was insisting on watching the movie as soon as possible.
 
user142019
@thecoshman that too.
 
trolls rule!
 
> Well done, and I hope you are using Win32, and NOT glut.h or glew.h or anything like that!
But this is gold
 
@Code-Guru trolls only think they rule because they get left behind. Everyone sensible moves on, leaving the trolls to circle jerk
 
/* here is where I'm loading
the data - why do I need to
load it every time? */               <---- because I am too lazy to read about VBOs
 
Ell
12:15 AM
I think pirating Woild reduce if a lot of pirates were fined an amount of money
 
> • I created the entire website with PHP, by hand. You can trust it's security!
 
Ell
Even like £25
 
@Ell huh?
 
@R.MartinhoFernandes Solid gold.
 
user142019
> trust it's security
 
user142019
12:15 AM
> it's
 
Lol.
 
@Zoidberg but it is security!?
 
That's like a few diamonds worth of the Belgium Diamond Heist.
 
@R.MartinhoFernandes is there a unicode character for the fusion of ? and !
 
Xeo
@R.MartinhoFernandes Where did you get that from?
 
12:16 AM
I know it was a real character for a short while
 
Xeo
@thecoshman Interrobang.
 
@thecoshman I think so.
 
@BartekBanachewicz OpenGL has a lot of outdated materials going on
 
@Xeo that's the one :P
 
It's hard to dive in
 
user142019
12:17 AM
@thecoshman why the hell would you want that‽
 
@CatPlusPlus I know, right? (again). I've posted a nice one today (open.gl) The moving demos made my eyes wide (dude implemented examples in WebGL)
 
Xeo
There's also the "gnaborretni": ⸘
 
@thecoshman What!?
 
@Zoidberg because it rocks!
 
Ell
12:17 AM
If you use a function that isn't supported in glew, does it just segfault? Because the function pointer will be set to null?
 
The interrobang, also known as the interabang, (), ‽ (often represented by ?! or !?), is a nonstandard punctuation mark used in various written languages and intended to combine the functions of the question mark (also called the “interrogative point”) and the exclamation mark or exclamation point (known in printers’ and programmers' jargon as the “bang”). The glyph is a superimposition of these two marks. Application A sentence ending with an interrobang asks a question in an excited manner, expresses excitement or disbelief in the form of a question, or asks a rhetorical question. F...
 
It's called an interrobang
I thought it was well known
 
WebGL is OpenGL ES 2 basically
 
also, will you just change you name to 'robot' @R.MartinhoFernandes I getting tired of typing '@robot' and wondering why it is not suggesting anyone
 
user142019
 
12:18 AM
@CatPlusPlus with shitty garbage collector. But of course, it's the js flaw
 
And yes I've seen it
 
user142019
/cc @Rapptz
 
@Rapptz I couldn't remember the name :P
 
GC is not a flaw
 
I wish webGL allowed Lua
 
12:19 AM
:cripes:
 
user142019
GC is wonderful.
 
I'm surrounded by biased people.
 
@Zoidberg @DeadMG you can send stuff to the bin again, I now you love it
 
It's almost like this room is full of humans.
 
@CatPlusPlus No, but JS GS is particularly unsuitable for games, for example
 
12:19 AM
@EtiennedeMartel You're biased!
 
@CatPlusPlus OpenGL tutorial space is almost as bad as C++.
 
Lua one works much better
 
user142019
I cannot bin in this room.
 
@Rapptz (That's the joke)
 
OpenGL tuts are the worst. ;~;
 
12:19 AM
@BartekBanachewicz what? not even Jakie Chan can explain how confused you are
 
Zoidberg can't bin anything
 
@ThePhD You're the worst!
 
JS has no prescribed GC
 
and I always could bin stuff, so what's changed?
 
@R.MartinhoFernandes I'd say worse
 
12:20 AM
@Rapptz Only when you want me to be for you HoneyBunches~
 
@CatPlusPlus V8 has a decent one, though.
 
Ell
@thephd open.gl is good
 
user142019
DirectX > OpenGL
 
@CatPlusPlus the point is, it's tuned for web usage.
 
And really stop-the-world GCs aren't that terrible
 
12:20 AM
@Zoidberg I am not even starting on that
 
Xeo
@DeadMG We can see what will have changed in 5mins!
 
I think feature-wise they're both equivalent. People just generally suck as using them.
 
You can still tune the thing to be unnoticeable
 
@DeadMG ¬_¬ was more of a request, but never mind
 
user142019
@BartekBanachewicz not my problem.
 
12:20 AM
@thecoshman ⁈ or ⁉
 
@CatPlusPlus In OpenMOBA it was. And tuning (at least in chrome) is limited
 
user142019
Haskell without GC lol.
 
@StackedCrooked afaik the interobang is for either way around
 
user142019
Copying everything all the time.
 
@thecoshman ?
 
12:21 AM
@thecoshman it bangs either way?
 
Xeo
@Zoidberg Functional languages are kinda hard without GC, I think, because of the way they're structured.
 
@Xeo Functional languages are kinda hard without GC, I thunk, because of the way they're structured.
 
Ell
@zoidberg Why Is dx > gl? Surely gl being cross platform gives gl the win
 
user142019
@BartekBanachewicz ‽
 
12:22 AM
@Ell don't feed the troll
 
Xeo
@R.MartinhoFernandes ...
 
user142019
@Ell the API is less bad.
 
@BartekBanachewicz webGL is a standard interface, Lua is a langauge... how can webGL 'use' Lua? or are you trying to say you want to be able to use webGl from within Lua with in the browser?
 
@Ell GL's API is terrrrrrible in basically every respect.
 
@thecoshman precisely.
 
12:22 AM
Is the perfect forwarding problem unique to C++ or does it exist in other programming languages?
 
@StackedCrooked i think it exists only in compiled languages, no?
 
user142019
OpenGL is like writing a program using only globals.
 
@StackedCrooked Only in value-typed languages.
 
@DeadMG DX is hardly any better
 
@thecoshman Easy. Run WebGL on a new BSD Box and you have it.
 
Ell
12:23 AM
Well idk enough
 
Xeo
@StackedCrooked Perfect forwarding only matters if you can differentiate between lvalues and rvalues and if said difference matters.
 
What other value-typed languages are there?
 
user142019
@StackedCrooked What do you mean? Where everything is a value?
 
Xeo
In C++, it matters because of move semantics.
 
@Ell (my personal opinion) DX API isn't much better, and certainly harder to grok for a beginner.
 
12:24 AM
@Zoidberg I was replying to @R.MartinhoFernandes.
 
user142019
Oh. :P
 
Xeo
@R.MartinhoFernandes And not in all of them, right?
 
@StackedCrooked Mainstream? Not many.
 
Anyway, we brought @Mitch down to 1 rep.
 
I guess C has value types.
 
12:25 AM
@StackedCrooked But no references.
 
Xeo
@StackedCrooked Yeah, but C draws no benefit from differing between lvalues and rvalues.
 
And no tools to forward anything.
 
user142019
What is a value type? Like structs in C#? Non-pointers?
 
Should I change my avatar to that pic? heh
 
12:25 AM
You just throw pointers around.
 
user142019
throw new int; // I throw pointers around!
 
Oh dear lord in heaven. — Lightness Races in Orbit 3 mins ago
@LightnessRacesinOrbit I love the for-loop guy
 
Or maybe this one is more appropriate:
Talk about desperate...
 
Hearing As Heard On Radio Soulwax for the first time. It's pretty cool. Wow, it's on youtube.
 
user142019
HTML and PHP are both equally terrible.
 
12:28 AM
@BartekBanachewicz Compiled or not is a silly irrelevant implementation detail
 
Ell
Not so terrible?
 
@Zoidberg There's value types, and POD / plain old? data types. This excludes polymorphic behaviour.
 
even VB!
 
@Code-Guru A bit too clean.
 
12:29 AM
Btw, fgetwc in Windows is borked.
 
Looks staged.
 
Something operating on wchar_t is broken? WELL I NEVER
 
@EtiennedeMartel yes...I just posted it for the sign.
 
Ell
I hate some of you guise.
 
@EtiennedeMartel "Even VB!"
 
12:29 AM
It returns WEOF on error.
 
@Ell who? :)
 
@Code-Guru How low can one go.
 
However WEOF is 0xFFFF (as unsigned short!), which is a possible value in the input.
 
I need a link to "Choose stdlib container" Question ASAP
 
@Ell Just some of us? I guess the rest aren't trying hard enough...
 
user142019
12:30 AM
"Terrible" is the most occurring word in the Lounge.
 
@StackedCrooked not much lower than that
 
@R.MartinhoFernandes Are you saying libc is bad at communicating errors
 
There's always PHP.
 
@CatPlusPlus No. It works fine on Linux (WEOF is 0xFFFFFFFF which is way beyond the range of Unicode)
 
@StackedCrooked IMO VB is worse just because MS markets it.
 
12:31 AM
@R.MartinhoFernandes It's still in the domain of the returned type
(Besides libc is bad :v)
 
@CatPlusPlus The domain of the returned type is large enough for all possible values + error codes
 
Ell
@bartek haha don't want to name names, but you're not one of them :P
 
@R.MartinhoFernandes There's no unicode utf-64?
 
@R.MartinhoFernandes Unless it's not? :lol:
@CaptainGiraffe No
Unicode space is 21-bit currently
 
Xeo
34
Q: In which scenario do I use a particular STL Container?

Daniel SloofI've been reading up on STL containers in my book on C++, specifically the section on the STL and it's containers. Now I do understand each and every one of them have their own specific properties, and I'm close to memorizing all of them... But what I do not yet grasp is in which scenario each of...

 
12:32 AM
Or something around that
 
@CatPlusPlus I'm disappointed.
 
@Ell I like everyone here, I am just sad at Puppy's behaviour.
 
@Code-Guru get out
 
Someone wanted to make UTF-128 to add error correction at character level
 
@Xeo thanks
 
12:32 AM
Jan 28 at 13:06, by R. Martinho Fernandes
There is someone on the Unicode mailing list suggesting the creation of a UTF-64...
 
Or maybe it was 64
 
@CatPlusPlus Forever.
 
@CatPlusPlus Only just a month ahead in time.
 
Ell
@bartek same actually, I like most people but sometimes behaviour makes me sad
 
Xeo
 
12:33 AM
 
@R.MartinhoFernandes Yeah, right
 
user142019
Oct 13 '12 at 22:51, by sehe
PHP has it's uses.
Singletons are sometimes defendable
 
user142019
> it's
 
@R.MartinhoFernandes Forever? 21 bits can fit all language spaces for the rest of eternity? o_O
 
user142019
I should start its police.
 
12:33 AM
I love PHP it's so easy and fluffy
 
@CatPlusPlus BRAVE!
 
I'm so tired
I slept all day jesus I shouldn't be tired
 
Xeo
I know that feel.
 
And it's the second day in the row
 
user1357851
 
12:35 AM
First week and I already missed half of the classes~
 
@ThePhD Who said that?
 
@sehe java java java
@sehe =p
 
@CatPlusPlus What classes are you doing?
 
(Also, yes, it should hold for centuries)
 
Boring ones
 
12:36 AM
@CatPlusPlus I've missed each and every. High5
 
@R.MartinhoFernandes did said guy have a justification for it?
 
@R.MartinhoFernandes I dunno. When you say 'Eternity' it usually means it's been engineered well enough to stand the test of multiple languages and stuff.
 
Who the fuck came up with an idea to start semester in the middle of the week anyway
 
There are currently about 110k assigned characters out of a possible ~2M.
 
user142019
UML is worse than PHP.
 
12:36 AM
Oh.
 
That's less than 1%.
 
Well then we've got plenty of room. :D
 
We got plenty-o' Lounge
 
And we already started filling it with crap like Ancient Egyptian and shit.
 
Xeo
Erm, Robot, still.. why the fuck 21? How do you get to that number?!
 
12:37 AM
@Xeo It's what you can encode in UTF-16.
 
@Xeo Magic. :D
 
UTF-32
Because think about intergalactic species
 
@Xeo it's a nice age
 
Xeo
@R.MartinhoFernandes I guess I don't understand enough about Unicode to see the relation.
 
12:38 AM
@BartekBanachewicz Get up to speed please. utf-128 is coming in about 40 days.
 
Ell
21 bits ought to be enough for anyone
 
UTF-32 is mighty simple because of that btw
Also @ThePhD that ServiceProvider is really scary
 
Ell
Although tbf real language isn't evolving as quick as CPU and memory and shiz
 
@CatPlusPlus It is. ;~;
 
7 mins ago, by Captain Giraffe
@R.MartinhoFernandes There's no unicode utf-64?
 
12:39 AM
@R.MartinhoFernandes so, no.
 
@Xeo Basically, surrogate pairs give you an extra five bits. UTF-16 cannot encode more than that. (the other UTF formats can in theory, but do not by decree, for that reason)
@CaptainGiraffe UTF-256: unicode.org/mail-arch/unicode-ml/y2013-m01/0218.html (this one is a troll reply, just in case it's not clear)
 
I guess I'll just have to make Argument-Soup out of what I can.
 
Xeo
@R.MartinhoFernandes Okay. And why do surrogate paris only get you 5 extra bits?
 
@BartekBanachewicz What are you? A killjoke bot? With you rfc 1149 would never had been written. The world would be a lesser place because of it.
 
Xeo
Btw @R.MartinhoFernandes, did you change the "Mit freundlichen Grüßen" signature yet?
 
12:42 AM
@Xeo Because the surrogates have to be taken out of the encoding space of the first plane (i.e. 0000-FFFF). UTF-16 cannot encode their values unambiguously. So they only took out the D800-DFFF range because it was free and contiguous, I guess.
(i.e, the above means U+D800-U+DFFF are not valid characters anywhere)
 
is there a way to check if an std::function contains nothing?
 
@CaptainGiraffe I'm a bit sleepy; my sense of humor is off
 
Xeo
if and empty() I think.
 
oh nvm I see operator bool
 
Xeo
Or something along that line.
 
12:44 AM
@Rapptz operator bool
 
user142019
Feb 18 '12 at 7:53, by DeadMG
the great thing about Java is that whenever you feel down in the dumps, and whenever you get stuck dealing with Windows.h's crappy macros, and that kind of C++ crap, you can always think "Well, it could be worse. I could be programming in Java."
 
user142019
Still my favourite quote of all time.
 
Xeo
Yeah, nvm, only conversion to bool.
 
Jan 28 at 13:07, by Cat Plus Plus
Let's make it UTF-128 so that every code unit can have it's own IPv6 address
 
12:44 AM
Yeah except Java is actually better than windows.h but w/e
 
@Xeo For clarity, in the beginning there was only UCS-2 (i.e. 16-bit encoding), because the entire encoding space was just 16 bits. Then they realised that was not enough and UTF-16 evolved from that by taking out that chunk of space for surrogates. This is also why the WinAPI uses UTF-16: they made their decision early (i.e. used UCS-2) and then had to adapt without breaking stuff.
 
@CatPlusPlus +1
 
@CaptainGiraffe you know chat has a proper '+1' feature
 
Nope. And yes, he used it
 
Ell
Srs?
 
@thecoshman No, how does that work?
 
So, in few words, the 21 number came about for historical reasons.
 
@CaptainGiraffe o_0 not sure if trolling or genuinely does not know ... either way, there is a star on the right hand side of messages
 
Ell
21 is crazy
Star is not +1
4
 
12:47 AM
@thecoshman it ain't shown up on mobile
 
@Ell close enough
@BartekBanachewicz fuck that ugly piece of shit
 
@thecoshman My sincere apologies, I was trolling/joking. I just wanted my +1 visible in the stream not in the righthand side box.
 
@thecoshman Ah, I forgot that one ^^
 
Ell
You can only star if others have on mobile
 
@Ell o_0 huh?
 
12:48 AM
I am using both full and mobile on iPad, actually
 
@Xeo I think I haven't changed it at the work machine yet.
 
Xeo
@R.MartinhoFernandes I kinda like it. Shows that you're being assimilated by us. :P
 
Ell
Too tired to be rational or repsoni e
 
is it possible for one to really have an existential crisis?
 
> For the sake of simplicity no boost or any heavy templates are desired.
 
12:50 AM
@BartekBanachewicz that shit, fuck it
 
For some reason doing if(button.isClicked()) { ... } else { ... } works better than storing an std::function as a call back and calling it on click =/
 
Hm.
 
user1357851
 
@Rapptz Define "works better"
 
I can't use const T0& because someone could specify T0& as the function parameter argument...
 
12:51 AM
@BartekBanachewicz 'works'
 
@Rapptz I've used std::function in my button class and it worked ok.
 
@ThePhD Use T1 then.
 
Oh you're replying to me. I had you plonked. Sorry.
 
@Rapptz wat?
 
Ell
Use boost signal
 
12:52 AM
isClicked() calls the function exactly one time, but std::function calls it multiple times in the loop unless I sleep the thread (which I don't want to do)
 
Xeo
@Rapptz std::function has type-erasure overhead.
@ThePhD Where, how, context?
 
bool CButton::MouseRelease(int mouseX, int mouseY)
{
	if (m_DisplayOptions.Clicked)
	{
		m_DisplayOptions.Clicked = false;
		if (_TestIfInside(mouseX, mouseY))
		{
			if (!m_Function._Empty())
				m_Function();
			return true;
		}
		else
			return false;
	}
	else
		return false;
}
 
@BartekBanachewicz nope
 
damn, no code scroller it should limit to, I dunno, 8 lines?
 
Ell
Weird.how losing info causes.over head
 
12:53 AM
@StackedCrooked I could. But I could also safely just have two definitions, I think: Invoke ( T0 t0 ); /* Copies */ and Invoke( T0&& t0 ); /* Fowards */ /cc @Xeo, I'm using it with a Function Template
 
@Ell You don't lose it, you hide it from the compiler.
 
Hmm, what do you guys think.. is it a good or bad thing to start writing basic questions/answer for a language that isn't that active on stackoverflow? such as answering how to obtain the maxium value a variable can hold in , etc?
 
Where someone can specify EventShooter<const int, const Beef&>
 
Ell
And move it to runtime? (hence overhead I guess)
 
12:54 AM
@refp you mean FAQ style?
 
I'm thinking of just dropping the callback
 
@refp ? Bad idea
 
@refp Bad, it implies a lot of work that is not asked for.
 
@Rapptz what's exactly wrong?
 
@refp Depends on how basic.
 
Xeo
12:55 AM
@ThePhD How exactly would T0 = T0_& cause problems when doing Invoke(T0 const&)?
 
@BartekBanachewicz Well, like I mentioned earlier since I'm forced to sleep the thread it messes with my colours.
I have it set so it changes colours depending on its state
 
@thecoshman I'm not sure if it's FAQ style, it might be I guess.. it's just that there aren't any questions like that on SO for that language
 
@Rapptz mhm. Mine was 2-state only (clicked-in and idle)
 
@refp then why ask them?
unless you actually want an answer for your self ofc
 
Xeo
@refp Is or was it a real problem you are or were facing? No? Don't ask it. Yes? Go ahead.
 
12:56 AM
@refp It's not FAQ if it's not asked :P
 
@refp If you were looking for it and did not find it on SO, go away and ask & answer.
 
@thecoshman well, I'm learning the language and the resources for questions like that is kinda limited (since the language is fairly new)
 
mine's hover, clicked, disabled, and idle
 
@Xeo If someone defines T0 to be const Beef& in the class's template, then wouldn't the T0 in invoke - if written Invoke ( const T0& t0 ) - expand to something wonky like Invoke( const Beef&& t0 ) ?
 
Xeo
@ThePhD No, reference collapsing and shit.
 
12:57 AM
@R.MartinhoFernandes but I never ask questions on SO, and now that I looked; no, it's not on SO - not that I looked for the answer here, but I know programmers who use SO over google etc
 
Jeff Atwood on July 01, 2011

The FAQ has contained one key bit of advice from the very beginning:

It’s also perfectly fine to ask and answer your own question, as long as you pretend you’re on Jeopardy! — phrase it in the form of a question.

So …

if you have a question that you already know the answer to

if you’d like to document it in public so others (including yourself) can find it later

it is OK to ask, and answer, your own question on a relevant Stack Exchange site.

To be crystal clear, it is not merely OK to ask and answer your own question, it is explicitly encouraged. …

 
@refp like, unless you are genuinely asking the question your self, don't pretend to ask on SO
 
Xeo
@ThePhD And also, it'd be Invoke(Beef& const&).
 
@Rapptz That's an interesting issue
 
@thecoshman I'm going to answer it myself of course
 
Xeo
12:57 AM
Then, const on references is ignored in templates (and typedefs), so you have (Beef& &) and reference collapsing makes that (Beef&).
 
@refp ¬_¬ rep whore
 
"if you’d like to document it in public so others (including yourself) can find it later" I guess that's the one
 
@BartekBanachewicz It was when you were being annoying yesterday during the flag craze.
 
I'm curious how big the SO database is, in terms of bytes.
 
@CaptainGiraffe in terms of bytes? come on now, we have more sensible units then that
 
12:58 AM
@Rapptz ah, that's understandable then. I thought that maybe another Puppy follower showed up -.-
 
@thecoshman tell me something I don't know.. ;-) No but seriously, bringing questions on SO might raise awareness of the language and make the community larger (in terms of ), that was my intention
 
@thecoshman Cars? Libraries of congress?
 
and of course rep-whoring.. that's all I do here when I'm active
 
@CaptainGiraffe TB?
@refp your time wasted
 
@CaptainGiraffe There are BitTorrent data dumps of it.
 
12:59 AM
@BartekBanachewicz huh? Also here's a video showing the bug, you can kind of see how it doesn't change colours when clicked.
 
@thecoshman mkMGPTY
 
@Xeo Okay, so in that case it'll collapse to Beef&. What if the person wanted the function parameter to be const Beef& by the time it got down to the actual stored callback?
 
@R.MartinhoFernandes Atwood can be a fine chap at times.
 
@CaptainGiraffe ?
 

« first day (861 days earlier)      last day (4080 days later) »