What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 150 Stack Exchange communities.

Consider the last answer in: Lockfree standard collections and tutorial or articles.

I think it'd be the best answer for: non-blocking thread-safe queue in C++?

Assuming of course that SO users appreciate code reuse.

share|improve this question
Surely it's an indication that the questions are duplicates. – ChrisF Jun 29 '11 at 22:07
@ChrisF: In this case one question is language-specific and the other isn't so they're not duplicates at all. Because of the language agnosticism, sstock's answer is actually pretty inappropriate for that question. :) – Matt Chambers Jun 29 '11 at 22:12
I did say indication. – ChrisF Jun 29 '11 at 22:14

1 Answer 1

You can always create an answer to the 2nd, and link to the other.
I many times link to other SO answers that I know help the answer.

share|improve this answer
Is that best practice? – Matt Chambers Jun 29 '11 at 22:02
@Matt, It's best to add content, but if another answer does the job well, then providing that link is a positive. You might just leave a message for the user to add his answer to the other question. – Lance Roberts Jun 29 '11 at 22:21
@LanceRoberts: I'm flagging posts which links to another question/aswer as "should be comment" – genesis Aug 28 '11 at 23:09
@genesis, that's too bad, and innapropriate as a general statement. Things like this should always be done on a case-by-case basis. Just because an answer contains a link, doesn't make it a bad answer. – Lance Roberts Aug 28 '11 at 23:22
I think he meant "which just links", as those should be comments and often the questions should be closed as duplicates. – agf Aug 28 '11 at 23:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .