User profile: elohssa

User info
User name:elohssa
History
Joined:
Number of posts:42
Latest posts:

Count the number of duplicate elements in an array-C
[code] #include <unordered_map> auto countDuplicutes(int arr[1000]) { std::unordered_map<int, int> ...

Rules around RVO
Got it thanks. "even on an lvalue" Makes sense, that's a good one to know lol

How could I test whether the input parameter is uninitialized
You could try using zeroed primitives: [code] template<typename T> struct ZeroedPrimitive { Zero...

Rules around RVO
error C2280: 'Block::DataWriter::DataWriter(Block::DataWriter &&)': attempting to reference a delete...

Rules around RVO
Thanks. I notice it says: "which isn't the function parameter, " What about when the function para...

This user does not accept Private Messages

User: elohssa

  • Public profile