Report
Question
I always used (a) Nullable<>.HasValue because I liked the semantics. However, recently I was working on someone else’s existing code base where they used (b) Nullable<> != null exclusively instead. Is there a reason to use one over the other, ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
5 Answer 27 views

Report
Question
So, after watching this wonderful lecture on rvalue references, I thought that every class would benefit of such a “move constructor”, template<class T> MyClass(T&& other) edit and of course a “move assignment operator”, template<class T> MyClass& operator=(T&& other) ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
8 Answer 413 views

Report
Question
In eclipse there is a shortcut Ctrl+Shift+F that re-indents code and fixes comments and blank lines. Is there an equivalent for Visual Studio 2010? ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
8 Answer 28 views

Report
Question
I have often encountered an error such as “cannot convert from ‘method group’ to ‘string'” in cases like: var list = new List<string>(); // ... snip list.Add(someObject.ToString); of course there was a typo in the last line because I forgot the invocation parentheses ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
5 Answer 25 views

Report
Question
I see in C++ there are multiple ways to allocate and free data and I understand that when you call malloc you should call free and when you use the new operator you should pair with delete and it is ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
16 Answer 38 views

Report
Question
My team is starting to document our C code using doxygen, paying particular attention to our public API headers. There appears to be a lot of flexibility and different special commands in doxygen, which is great, but it’s not ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
20 Answer 41 views