I was experimenting with tuples and encountered a problem with creating tuples. The code example is as follows.
I declared a static unordered map in a header file as follows: static boost::unordered_map<KeyAction, sf::Key::Code> WindowKeyMap;
Why is std::initializer_list<_E>::size not allowable in a static_assert, even though it\'s declared as a constexpr in my libstdc++ (v. 4.6)?
In one of the recent C++0x drafts (n3225.pdf) we can find 5.1.2/10: The identifiers in a capture-list are looked up using the usual rules for unqualified name lookup (3.4.1); each such lookup shall
In another question I incorrectly used the term POD to refer to data types that aren\'t actually POD types (on account of having a constructor). Now, I\'ve looked through the standard and couldn\'t fi
Is the C++ Standard Library part of the C++ Language? (note \"language\", not \"standard\"; both are, of course, part of the standard).
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
This is a follow up question to: Using export keyword with templates As mentioned in the answers of the original questions \'export\' is deprecated in C++0x and rarely supported by compilers even for
Already posted a doubt about the same issue, but i think the answers started to go in other direction, so i will try to focus my questions :P
I\'m writing a program in C++ using threads to improve the efficiency. Basically I\'m just creating a huge vector of integers (1 GB) and filling it with random numbers. I executed the program without