sbi's user avatar
sbi's user avatar
sbi's user avatar
sbi
  • Member for 14 years, 9 months
  • Last seen more than a week ago
2459 votes
10 answers
1.0m views

What are the basic rules and idioms for operator overloading?

312 votes
4 answers
106k views

When do I use a dot, arrow, or double colon to refer to members of a class in C++?

245 votes
4 answers
41k views

Which kind of pointer do I use when?

52 votes
4 answers
9k views

Getting bool from C to C++ and back

50 votes
8 answers
31k views

How to make a multiple-read/single-write lock from more basic synchronization primitives?

41 votes
3 answers
3k views

Why do iterators need to be default-constructible

39 votes
3 answers
113k views

How to return several items from a Powershell function

33 votes
6 answers
57k views

How do I suppress standard error output in PowerShell?

29 votes
5 answers
2k views

How to reduce boilerplate currently necessary for serialization

24 votes
3 answers
5k views

Does std::string need to store its character in a contiguous piece of memory?

20 votes
8 answers
8k views

Detecting empty pages in scanned documents

20 votes
8 answers
7k views

Thread-safe initialization of function-local static const objects

19 votes
4 answers
367 views

Is there an advantage in choosing either loop as an outer loop?

18 votes
2 answers
35k views

How do I provide param attributes for a script in PowerShell?

17 votes
4 answers
3k views

How to safely read an unsigned int from a stream? [duplicate]

14 votes
3 answers
2k views

How to avoid race conditions in a condition variable in VxWorks

14 votes
1 answer
662 views

Lifetime of rvalue bound to static const reference

14 votes
2 answers
2k views

Why is the code "foo::foo::foo::foob" compiling? [duplicate]

13 votes
3 answers
380 views

Can I empty-base optimize mutable data?

12 votes
1 answer
771 views

Can I copy-construct a boost::exception with the error info?

11 votes
3 answers
602 views

Why does std::basic_ios overload the unary logical negation operator?

10 votes
4 answers
598 views

What is the reason string.Join needs to take an array instead of an IEnumerable?

10 votes
7 answers
2k views

How to implement a string that solely allocates on the stack

10 votes
5 answers
2k views

How to create static strings from types at compile time

10 votes
1 answer
286 views

Looking for a composite traits pattern for boost's transform iterators

9 votes
1 answer
1k views

How to find an element in a boost::fusion::vector at runtime?

9 votes
1 answer
2k views

How do I make my ActiveMQ broker drop offline durable subscribers

8 votes
1 answer
325 views

How do non-integral constants work in C++? [duplicate]

7 votes
1 answer
296 views

Visitor pattern if you have very many node types

7 votes
4 answers
4k views

What's an enum class and why should I care?