@MooingDuck, Yeah, not too many people who ask those sort of questions do understand it, but they should take the time to learn when it gets that many upvotes.
@ManofOneWay Default behaviour is to swap via one copy and two successive assignments in C++03, and one move and two successive move assignments in C++11.
@ManofOneWay using std::swap means if you can't find a swap function, use std::swap as a fallback. But it should find ::A::swap. Technically the using line isn't needed there, I jsut put it there out of habit.
@ManofOneWay no, the function is perfectly fine the way it is. Just remember that it's a global function, not a member of A, and that everyone can use it. Though I'd probably move it to the public side, to avoid confusion
@n2liquid I appreciate you let me be. I'm still recovering. And that is from just a pilot. We'll be using Serena fulltime from September onwards. I think I might call my head hunter
@n2liquid Ah, that was my top 1 peeve already. I only did a one month 'pilot' using it (and I went back to SourceSafe + git locally...) and I was appalled at (??) speed (??)
@n2liquid Well, a random round of annoyances then? I'd say (a) flakey UI (b) horrendous wizard design (c) confusing checkmarks (d) restrictive workflow (e) hard to view diffs (f) extremely hard to cater for ignores (got to repeat the 'ignore' at every synch?)
@n2liquid Oh joy. They do know how to extort the money
Quite literally I've had the synch wizard die on me more than once, I've had spurious errors at checkin make me go back to step one of that dreaded wizard and redo all my selections.
I haven't bumped into that; but it's got plenty of funny issue, such as inability to order search results by a given column because "the result set is too long", lol
@sehe haha, I haven't had that kind of problem yet; oh yeah, and branching is also a bliss ;)
I've had some silly confirmation dialog loop that popped up a message box with only an 'Ok' button... IN THE BACKGROUND ... so I had to use the mouse to click it to the foreground, then dismiss it. And the loop repeated for about 96 times. Then, it rejected my commit for lack of rights to delete 1 item. I had to start over.
@n2liquid Though they don't call it that, do they? They call it... streams?
@n2liquid When you compare local to base revision, you want to ignore things like temporarys, compiled files etc. I have yet to find a way to make the 'ignores' stick
I wish all new people would separate the error line and point it out, along with the actual error, as well as an sscce: stackoverflow.com/questions/11620437/…
@n2liquid Shit, I don't know the version number. I'm so bookmarking this conversation, though. I'll send it to my colleagues (I won't be in the office until 3 weeks from now myself - motivational mail is all I can manage) :)