« first day (226 days earlier)      last day (4716 days later) » 

sbi
1:00 PM
@AProgrammer Yeah, that's one of the few advantages of becoming an old fart.
 
Xeo
Didn't someone want something from @balpha yesterday?
 
sbi
@Xeo I bet.
 
Heh.
 
Xeo
Now that must've hurt:
 
@Xeo Man, I soo want to know what is the man grinning at :D
@Xeo And I do not mean this man!!
 
sbi
1:04 PM
@Xeo Isn't there a video from K1 or something similar, where one of the fighters snaps his leg striking the other one?
(Now that I've sent you chasing rabbits, I gonna go back to work.)
 
Xeo
Does this question really count as a duplicate? If the pointer is null, it won't even try to delete the "object" under it
12
Q: Is it undefined behaviour to delete a null void* pointer?

Xeo Possible Duplicate: Is it safe to delete a void pointer? I know that deleteing a null pointer is a no-op: In either alternative, if the value of the operand of delete is the null pointer the operation has no effect. (C++ Standard 5.3.5 [expr.delete] p2) And also that deleting ...

 
1:29 PM
ugh
 
1:39 PM
Voted to reopen and explained why I think this is not an UB.
 
Xeo
@AProgrammer That's exactly my reasoning. :)
 
1:54 PM
omg so @FredNurk left cause he was offended by @jalf comparing him to a 12 year old in behaviour... that's sad...
if you can't handle that, then I feel sorry for you
 
sbi
@TonyTheTiger I wonder if that doesn't rather prove @jalf's point...
 
@sbi to be fair, people of all ages do that, in my experience. It's easy to get offended in a text-only medium like this.
 
2:14 PM
@jalf yea but whoever takes this place so serious as to get offended?
 
@Tony, if I rely on my experience, tired or otherwise already in bad mood people which don't want to admit later they didn't act sanely.
 
@AProgrammer yea true
 
2:49 PM
@TonyTheTiger no, I'm leaving because this is a pattern (it has happened with alf, deadmg, litb, and others) which the other regulars here apparently don't seem to have a problem with. shit happens in chat, that's fine, but I don't wish to belong to a community where that is accepted behavior. but thanks for assuming the worst possible interpretation
please refrain from @-notifying me
 
@FredNurk I was trying to be polite by at least letting you know I was talking about you.
 
understood
 
Xeo
@AProgrammer: I don't know, but I see an operator= ideone.com/zQLAQ :)
 
anyone that wants to get a hold of me can use my email address listed in my SO profile; don't hesitate if you have something to say. I'd prefer it to here.
 
@FredNurk are you talking about those people attacking you or them being attacked?
 
2:56 PM
the cause of specific problems, not necessarily something I was involved in, but something I witnessed or read later in the logs
obviously the link with alf was with me
and, lest anyone misunderstand, I point out names so someone doesn't say I'm being handwavingly vague (though I bet that'll still happen) -- but those people should not be mistreated because they screwed up, it's the general acceptance of such behavior, which I saw from everyone earlier, that disgusts me
 
Xeo
@FredN: There's always the option to ignore someone. Click on their avatar, last option on the bottom
 
if you have to ignore someone in a "public" room for other than technical reasons (e.g. persistent spam which has not yet been moderated out), you or the other person should probably leave
this applies to physical rooms just as much as virtual
 
If you feel something is offensive, then flag it to alert mods
 
@Xeo I shouldn't do this when I'm working :-)
 
I did, and got flak for that
but you can't flag general acceptance of offensive and rude behavior
 
3:02 PM
I think that statement generalizes a problem, and it isn't general, if there was rude or offensive behaviour, specific people will be guilty of it, and not everyone, like you seem to make it
in the last case, for example it was @jalf that said something you found offensive, not everyone
 
1) jalf made a comment
2) I found general acceptance of it by the regulars at the time, including you later
 
Xeo
Depends on the opinion on "offensive and rude". I, personally, too think that you overreacted a bit. So did @jalf.
 
Personally, I'm against flagging non-spam messages.
 
1 was a problem, not an insolvable problem, see "shit happens" above
2 is a much bigger problem which I've seen before and no longer wish to be party to
@TonyTheTiger does that clarify what you misunderstood?
 
@johnsyweb: are you there?
 
3:08 PM
@CatPlusPlus maybe the semantics of the system need tweaking, but the message from on-high is flags are for more than just spam
 
@FredNurk yea, however what @jalf said I don't find rude per se, (all a matter of POV really) however I don't condone the stuff alf said, what you linked. That was rude, and I'm sorry if it happened.
 
a code of conduct, perhaps something similar to ubuntu.com/community/conduct, would be a good thing for people, if only in this room, to consider
 
I know I'm antisocial and all, but really, easiest way to resolve Internet conflicts is to ignore the offending party. It doesn't involve other people, and doesn't create unnecessary drama.
 
maybe I'll be back in a year, who knows; until then, au revoir
 
you're generalizing... 'nuff said. One or two people is not everyone.
 
3:15 PM
@CatPlusPlus read the jacobian.org link for a refutation of that
@TonyTheTiger I'm generalizing because it is a general pattern I have seen going back months
 
I've been online too long to care about offensive anything.
2
 
and it surely is a few bad instances ruining the rest, but that doesn't change that it ruins the rest
 
@FredNurk besides two instances, you haven't shown evidence of this pattern you speak of
and all history is available
@CatPlusPlus that's just you, lol
 
it's my prerogative to leave and you don't have to like it. I did predict I would get called vague. I see no value in continuing to debate my reasons, and therefore no reason to dig up links
 
you're free to do as you wish
 
3:18 PM
Because really, if someone was to start insulting me, that would be just hilariously pointless.
It's much healthier this way.
 
@CatPlusPlus Ignoring the offense works quite well IRL also. Online or ILR, either the offense isn't wanted, and not making a fuss makes you the wise one for the observers (and perhaps the offender if he notices his faux-pas), either the offense is wanted, not making a fuss makes also you the wise for the observers and tend to piss of the offender more than any other reaction.
 
Unless you're a gangster, I believe the standard protocol then is to shoot them.
 
3:34 PM
It probably depend on the offender.
 
lets change the subject
what about cats?
 
Like, pet cats, or big cats?
 
heheh :)
@MartinhoFernandes any cats
lolcats
 
Well, I really don't have much to say about lolcats, so I'll... WTF? What's the meal in the middle of the afternoon called in English?
My vocabulary 404s.
 
3:44 PM
Tea?
 
mid afternoon meal?
 
@MartinhoFernandes Lunch? I think it's locale dependent. And who the hell eats regularly, anyway.
 
@CatPlusPlus I thought that was at noon.
 
I don't know, I don't remember when was the last time my day was synced with the rest of the country.
I usually eat breakfast around 14.
So I don't find words that describe meals in relation to the time all that useful. :P
 
@CatPlusPlus so you sleep till that time?
 
3:52 PM
@TonyTheTiger If I don't have any classes there, yeah.
 
@nils are you there?
 
@CatPlusPlus lucky you
what freenode channels do you mostly reside on?
 
#goblincamp
 
@CatPlusPlus hmmm I'll go and explore
lol
 
It's almost zero-volume, though.
 
3:59 PM
oh lol
do you ever go on the #C++ one?
 
Nope.
 
oh ok
 
@CatPlusPlus What, you go to classes?
Back when I used to do 28-hour days (like, last year), I had to choose between attending classes and keeping that lovely sleep cycle. The latter won.
 
@MartinhoFernandes I've got 4.5 day weekend, basically, so why not.
 
I thought you lived on the internet.
 
4:06 PM
I sometimes phase out.
Temporarily.
 
hello folks
/me sets up his next prank
 
oh oh
should we be worried now?
 
cpx
@JohannesSchaublitb hello
Lawlz.
 
@TonyTheTiger forewarned is forearmed
 
4:17 PM
@AProgrammer no truer thing could be said :)
 
@TonyTheTiger Except for 'true', which is the truest thing.
 
@CatPlusPlus hahah :P epic
 
Do the JavaScript video links work for you? I just get a "Remember Soldiers on Memorial Day" video...
50
A: Good JavaScript Books?

Gern BlandstonI've found these two books to be universally embraced: JavaScript: The Definitive Guide by David Flanagan and JavaScript: The Good Parts by Douglas Crockford You might also be interested in viewing Crockford speak over at Yahoo Video: Douglas Crockford: "The JavaScript Programming Language...

 
Xeo
@JohannesSchaublitb Oh, what is it? :)
Should we consider this question for the c++-faq tag?
9
Q: Where can I learn about the C++ Standard Template Library (STL)?

fluffelsThis question is a lot like Good book for learning the C++ standard template library? but aimed at the cash-strapped student type. I remember searching for some reference material about the STL a while back, but I couldn't find any good links. Are there any worthwile free tutorials / references ...

 
4:33 PM
I don't know. Seems very sub-par compared to the current contents of the FAQ.
 
Don't we have a list of books already?
 
Xeo
@CatPlusPlus it's not only about books
@FredOverflow Did @sbi get manipulated and wandered off to the JavaScript peeps?
 
@Xeo i don't know yet!
 
ugh I hate wifi
it always bombs out at the wrong time :(
 
definitely if someone posts stackoverflow.com/questions/6168958/… to reddit, @FredOverflow would get a gold badge
 
4:47 PM
@JohannesSchaublitb is that your prank?
 
Xeo
With @Steve's comment on @Nawaz' answer, I think we could have a general "guides to c++" list. Would be cool indeed, but maybe we just need a StackOverflow blog like many other SE sites have
 
@JohannesSchaublitb Can one still get badges for Community Wiki questions?
Oh wait, someone already posted :)
> Eingereicht vor 17 Minuten von JMBourguet
But people don't seem to care ;)
 
5:17 PM
2
A: Where can I learn about the C++ Standard Template Library (STL)?

SandeepSTL tutorial videos provide a good introduction to STL. The videos embedded here are from Microsoft's Channel 9.

This answer needs upvotes :)
 
rlc
-1
Q: why execution of C++ code is much faster compared to other languages such as java,C#

vivekHi, execution time of C++ is much faster compared to any other language even though all complied languages use compiled code to execute and convert it machine language code ,what is main reason for this ? is it the c++ language thats so fast or the compiler that executes which is faster ? can som...

this one is going to be fun to watch :-)
 
Oh, not another of those pissing contests.
 
@rlc hi .. did you ever use Open CV using VS 2010 ?
 
And the question just baffles me: "or the compiler that executes which is faster" What?
 
@rlc did you ever use Laplacian guassian operator in matlab?
 
Xeo
5:25 PM
@rlc Yeah, was fun for 3 minutes :P
 
rlc
@Xeo quicker than I'd expected :-)
 
@Xeo It was something for 3 minutes, but was it fun?
 
rlc
... and not even an attempt at an answer
 
@rlc can you reply me please ?
 
rlc
5:28 PM
@Miss sure: "no, I haven't used Open CV in VS 2010" and "no, I haven't used the Laplacian gaussian operator in matlab"
why ask me?
 
Xeo
@rlc Because he asks everyone randomly
This time the lottery chose you
 
as far as i remember you have done work in image processing ,,
 
rlc
@Xeo lucky me :-)
@Miss that, I have
 
Xeo
@rlc Wrong lottery, the next one is now not choosing you. :) I wouldn't consider that as "lucky".
 
you told me ... i guess i am wrong ..
 
rlc
5:31 PM
but, as I said before, I wasn't in the Vision team so my involvement in things like matlab was limited
 
@xeo please do't say like this .. as i remember he has done work on image processing
so i am asking from him .. ok @xeo
hmm ok @rlc thanks
now i want to go out from here.. otherwise like @xeo every one will make a statement on me...
thanks alot @rlc
good bye c++ chat room .
 
wow no irc channel for directx
:(
 
5:50 PM
@FredOverflow oh. too bad :)
@FredOverflow if you instead of upvoting my answer would have upvoted the other guy's answer yesterday, I would now have another gold badge xD
this was my cruel trickery, but I suspect you figured it xD
 
Xeo
@JohannesSchaublitb Why that?
Double score as non-accepted answer?
 
his accepted answer would then have 11 score (more than 10)
 
Xeo
ah
I'm hoping to achieve that on this one. :)
Johannes, link to the answer?
 
you will downvote him :(
lol
kidding. hold on
 
Xeo
@JohannesSchaublitb YOU'RE NOT THE ONLY TROLL HERE!
 
5:58 PM
:P
BTW nice abuse of error message =)
 
Xeo
You now have tripple of his score
 
@JohannesSchaublitb IIRC, the first TMP demo also used error message.
 
ohh the deal worked!
14
A: Simple fun C++ Asterisk Hill

Johannes Schaub - litbSome fun with GCC's error messages... // going up to the tip... #line 1 template<typename T, int N, int M = N, bool up = true> struct hill { typedef typename hill<T**, N, M - 2>::next next; }; #line 1 // ... on the tip! down now again ... template<typename T, int N> struct ...

 
Xeo
@JohannesSchaublitb TMP is a wonderful thing. I'm in love with partial specialization. :)
 
sbi
6:24 PM
@FredOverflow Indeed. It's got mine.
@Xeo Bah! That guy doesn't look half as grumpy as I do. Amateur!
 
Xeo
Oof. I just went through a 3kSomething words article for correction...
Took me 80 minutes x_X
 
sbi
BTW, could you guys please look at meta.stackoverflow.com/q/93173/133368.
 
7:00 PM
Okay, today I started learning JavaScript. What a bunch of unsafe language features combined with strange design decisions is this? You have to evade so many pitfalls in order to produce good code. I immediately feel attracted to the language!
2
 
Xeo
@FredOverflow I wrote JS for the first time today, in Unity. As C++ coders, we (3) pondered a good 30 minutes as to why some values where automatically updated when they should've been copies
Damn references
 
@Xeo You mean like a = b means both variables share the same object?
Aren't most OO languages defined like that?
Okay, my video compilation got closed, but it doesn't really bother me, now I have something to refer to whenever someone asks for a C++ video link :)
 
@FredOverflow Are you still able to edit the question?
 
@AProgrammer Yes :)
> Popular question: Asked a question with 1,000 views. This badge can be awarded multiple times.
Does that mean I get another badge as soon as it hits 2,000?
 
Xeo
@FredOverflow No, multiple 1k view questions
@FredOverflow Wait, again?
 
7:12 PM
@Xeo You mean nobody is going to ask, anymore? :(
Oh, you mean "closed again". Yeah, but now by divine intervention, not by democracy.
 
Xeo
Ché
 
@Xeo What?
 
Xeo
@FredOverflow as in "Tché", as in, "meh", as in, "fuck that". :)
 
Ah, I thought you meant Che Guevara :)
 
whaddup y'all?
 
7:18 PM
Nothing earth-shattering, I just got a first glimpse of JavaScript ;)
 
Xeo
I'm frantically awaiting an answer from @John Dibling on this question, as I don't want to waste that bounty. :<
 
Oh nice question, upvoted.
std::function uses type erasure, as does std::shared_ptr, if I'm not mistaken.
At least Stephan T. Lavavej claimed so.
 
Xeo
@FredOverflow Read, think, post :3 Those are exactly the examples I used in the question and comments
 
I stopped reading the question after the first sentence, upvoted, then immediately rushed back to the lounge.
 
Xeo
Also, Boost.Any, which does most trivial type erasure, i.e., it doesn't allow any other operations
 
7:21 PM
@FredOverflow I'm no fan of Javascript, hope you have fun with it :)
 
21 mins ago, by FredOverflow
Okay, today I started learning JavaScript. What a bunch of unsafe language features combined with strange design decisions is this? You have to evade so many pitfalls in order to produce good code. I immediately feel attracted to the language!
 
sbi
@FredOverflow I disputed Lasse's reasoning and voted to reopen.
 
so is this a const pointer or a pointer to a const: const D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc ?
 
pointer to const
 
Xeo
7:23 PM
@sbi You are a masochist after all, you always go against the higher-ups :)
 
so when I create that struct it has to be const?
 
You can check by writing pDesc = 0; sometime later. If it compiles, it can't be a const pointer.
 
Xeo
Maybe just open another question on meta? :D
 
sbi
@Xeo Actually, I don't only do this on SO. :(
 
@TonyTheTiger No, the pointer is a read-only view of something that may or may not be const, doesn't matter to the pointer. The data may change, but not through the pointer.
 
Xeo
7:24 PM
@sbi corrected. :P
 
@FredOverflow I thought that was the case with a const pointer
but obviously I'm wrong
 
No, const pointers always point to the same thing, but that thing can be changed through the pointer.
 
sbi
@Xeo Oh, great. Now for all eternity everybody browsing this room's history will wonder why I wrote that.
 
Pointers to const can point to different things in their lifetime, but they cannot change the things they point to, but those things can change "underneath".
 
home girls anyone here use git?
 
7:25 PM
You mean a guitar?
 
sbi
@JMRboosties I got a parse error on that.
 
github
parse error
 
@sbi "home girls" means "hello"
 
@FredOverflow oh ok, so to change it 'underneath'you need another non const pointer?
 
std::cout << "home girls world\n";
@TonyTheTiger Yes, or just access to the original object.
 
7:27 PM
github decided to make the folder where all my classes are a submodule
 
std::string s = "hello";
const std::string* p = &s;
*p = "world";                   // error, violates const-correctness
s = "world";                    // okay
std::cout << *p << std::endl;   // prints "world"
@TonyTheTiger Forgot the const lol, now it should be correct.
 
@FredOverflow oh ok thx
 
I don't think pointers to const are that common in C++... except for this in const member functions, of course.
References to const, on the other hand, are everywhere. Gotta love them!
 
what kind of a nameless union declaration is this:
 
But rvalue references to const are not that useful...
10
Q: Do rvalue references to const have any use?

FredOverflowI guess not, but I would like to confirm. Is there any use for const Foo&&, where Foo is a class type?

 
7:33 PM
 D3D10_DSV_DIMENSION ViewDimension;
  union {
    D3D10_TEX1D_DSV         Texture1D;
    D3D10_TEX1D_ARRAY_DSV   Texture1DArray;
    D3D10_TEX2D_DSV         Texture2D;
    D3D10_TEX2D_ARRAY_DSV   Texture2DArray;
    D3D10_TEX2DMS_DSV       Texture2DMS;
    D3D10_TEX2DMS_ARRAY_DSV Texture2DMSArray;
  };
 
It's an anonymous union.
 
supposedly ViewDimensionstores what's inside this union?
 
Kind of like a singleton ;-)
 
so that does exist? wow
it's defined inside a struct
 
Not sure if this is a compiler extension or standard. @Johannes?
With anonymous unions, the names "leak out" into the enclosing scope.
Haven't used them in a while, so no guarantees for accuracy here.
> While you quibble over the words of the law, you forget the law's intention. And this question fits its intention quite well: It does make the Internet a better place.
Thanks, @sbi :)
 
Xeo
7:37 PM
@FredOverflow Anonymous structs shouldnt "overflow" in the surrounding scope, MSVC allows this as an extension. I believe this holds true for anonymous unions too
 
@FredOverflow per someone on IRC, it's standard
 
Oh cool, I can vote to reopen my own questions :)
@Xeo So how would you access the members of an anonymous union then? There's nothing to qualify them, is there?
 
sbi
@FredOverflow I also added another video by Kate Gregory, but SO seems offline for me, so I can't commit my changes.
 
Xeo
The problem is, it makes things much nicer.
 
@TonyTheTiger Who is that someone on IRC, and why isn't he in the lounge?
 
7:38 PM
@FredOverflow cause this person is on IRC, and maybe this person is in the lounge, but then not by their IRC name
 
@sbi You can post the link here, I was going to include another Bjarne video, anyway.
 
@FredOverflow goes by the name of 'wobster' on IRC
 
@TonyTheTiger What is this, a riddle? :)
 
Xeo
@FredOverflow You just can't, but you are allowed to have unnamed unions/structs/classes.
 
sbi
@FredOverflow [Talkin' C++ with Kate Gregory](http://channel9.msdn.com/Blogs/Charles/VC-MVP-Summit-Kate-Gregory)
 
Xeo
7:39 PM
@sbi Markdown hates you. :)
 
@TonyTheTiger "wobster" sounds like someone is trying to say "lobster" with a lobster in their mouth...
 
@FredOverflow lol whatever, I was merely saying what was answered when I asked the question
 
sbi
@Xeo Actually I did this on purpose, so that @FredO can just paste it into his question.
 
@sbi That has always been there under Kate Gregory...?
 
Xeo
@sbi Ahh, backticks, I see now.
 
sbi
7:40 PM
@FredOverflow What is this, a riddle?
 
@sbi Why would I add the same video again?
 
@sbi I I've seen it, damn :(
 
The link you posted is already listed in the question.
 
sbi
@FredOverflow Durn. [Modern Native C++ Development for Maximum Productivity](http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DEV303)
 
wow, riddles plenty
 
sbi
7:41 PM
@FredOverflow Sorry. :-x
 
I have nothing significant to contribute, so I'll just say
 
@sbi remove the backticks
 
derp.
 
thanks for your trivial contribution that really wasn't a contribution
 
You're welcome.
 
sbi
7:42 PM
2 mins ago, by sbi
@Xeo Actually I did this on purpose, so that @FredO can just paste it into his question.
 
@sbi oops :(
 
sbi
@CatPlusPlus We take the obvious intention and determination in place of the missing deed.
 
@CatPlusPlus another meme uh?
 
@sbi incorporated
Wow, that would be a cool name for a company. sbi incorporated.
 
sbi
@FredOverflow But you weren't supposed to incorporate my apology!
 
7:44 PM
"sbi incorporated' sounds like an interesting future company :)
 
23 secs ago, by FredOverflow
Wow, that would be a cool name for a company. sbi incorporated.
 
@FredOverflow I was thinking the same, damn you, you were faster :(
 
1st!
 
I was actually thinking last night.
Is that an acronym for Sexual Bureau of Investigation?
4
 
Good one :) Not sure if we had it already.
 
7:45 PM
(No, don't try to follow my thought pattern there.)
 
hahah :)
@CatPlusPlus we've long stopped even trying that
and yes I am talking about 'we' because we are the borg and you will be assimilated :P
wow, I assimilated you guys so fast that you stopped talking? :P
 
I was busy reading the comments on the video links question.
 
ah ok
 
I was busy microwaving food into submission.
Do you really want to assimilate me, though?
 
@CatPlusPlus I have never seen food protest before. Did you put living animals into the microwave?
 
sbi
7:52 PM
@FredOverflow abbrev'ed to sbinc. :)
 
@sbi Or, even shorter, sb++ ;-)
 
sbi
@CatPlusPlus I made it a question of intellectual hygiene to try to not to follow your thought patterns.
 
@sbi woot :)
@CatPlusPlus how much garbage do you spew on an average day?
 
@TonyTheTiger 42.
 
@CatPlusPlus I want your sense of humour, then I could laugh a bit more in a day
lulz
 
7:55 PM
@TonyTheTiger "lulz" is reserved for @Johannes around here.
 
Xeo
@FredOverflow I hope "lol" and "hmm" aren't!
 
I call dibs on shits and giggles.
 
I'm afraid they are. "lol", "hmm" and "lulz". That's the rule of three!
 
hahah :P
 
7:58 PM
Why is this video in such a strange, clipped format? Is there anything I can do?
 
There's nothing you can do.
 
Well, at least that's better than "There's nothing we can't do"... :)
 
@FredOverflow lol
 
Xeo
Wow! The C++0x FDIS Paper answered one of my questions while browsing through it for references for once!
 
And what question was that?
 
Xeo
8:04 PM
What assumptions can be made about the type of a lambda
 
By the way you do know that you should not accidentally delete the FDIS pdf now, right? ;)
 
Xeo
> The type of the lambda-expression (which is also the type of the closure object) is a unique, unnamed nonunion class type — called the closure type — whose properties are described below
Yep, I know
 
"nonunion class type"... it's always been bugging me that unions are considered class types :(
 
Xeo
well, they are basically structs
just with shared storage
 
...with a weird memory layout? :)
 
Xeo
8:05 PM
you can even have member functions and stuff
 
Well, I practically never use unions. There's so much better tools available.
 
Xeo
yeah, but it is useful once in a while, esp. if you don't want to drag in boost
 
Boost is always with me, anyway. No need/hassle to "drag it in" for one particular thing :)
 
Xeo
Heh
 
@FredOverflow you talking about boost.variant and those things?
 
8:09 PM
I'm not talking about anything particular. I just like Boost :)
 
Boost is awesomest.
 
Oh, this is a great instrumental:
 
@FredOverflow anonymous unions are standard
 
@FredOverflow yea I like boost too
 
anonymous structs are not
(but are supported by some compilers)
 
8:14 PM
:)
 
Xeo
Oh, hey @Johannes, you came at the right time! How do I distinguish between a passed-in functor and lambda? :)
 
This cover is also amazing, especially the beginning:
@Xeo Why would you want to?
Lambdas are just syntactic sugar for functors, anyway.
 
Xeo
Yeah, but normally the function call operator of a functor is non-const, while they are const by default in lambdas
 
@sbi Hm, indeed, the videos "Machine Architecture" and "CPU Caches" are not really C++ videos... should I remove them from the list?
 
Xeo
Directly, this isn't a problem for my delegate class, as I cast the address of that operator() to a generic void (Gen::*op_func)() anyways.
 
sbi
8:24 PM
@FredOverflow I'd say you should, if only to plug one hole where critiques are coughing up from.
 
@sbi ok done
 
Xeo
But the problem comes together with normal functors, as they are allowed to overload operator(), so I first need to cast it to the right signature and then to the generic member function pointer
Oh, @FredO's video question is open again?
 
@Xeo It would seem, and somebody has already voted to close it again :)
 
sbi
8:42 PM
Apparently I'm a C++ celebrity. Some excellent links here http://bit.ly/mi2TLT to real C++ celebrities like @herbsutter STL, Bjarne etc
 
Xeo
@FredO, maybe group the links by topic?
 

« first day (226 days earlier)      last day (4716 days later) »