tr1
Using C++ classes like function that may be defined in several different locations
Between C++0x, C++03 TR1 and boost some things like function and bind can be defined in 3 different places depending on the compiler, eg for VC pre VC9 feature pack you have the boost versions, then y[详细]
2023-02-14 10:00 分类:问答Checking the size of a tr1 array at compile time
I just found out that boost::array::static_size isn\'t part of tr1::array, or at least it\'s not in my implementation (GCC 4.2.1) and I can\'t find it in any tr1 documentation.[详细]
2023-02-09 12:22 分类:问答C++ Regex to match words without punctuation
I searched, couldn\'t find anything. In the interest of not wasting any more of my time on the chance that the answer is obvious to someone else, I\'m asking here. Only site that has been useful so fa[详细]
2023-02-07 18:21 分类:问答R-value inserts don't work for unordered_map
I\'m using the latest available GCC build from repository. I decided to use it because some additional C++0x features. However now I stuck with something what supposes to work - I want to add new elem[详细]
2023-02-07 02:40 分类:问答for_each bind vector of vector resize
This is my first question. I gave up and will use a hand rolled functor for this, but I am curious as to how it is supposed to be done. The contrived example below is intended to resize all of the vec[详细]
2023-02-07 02:38 分类:问答Smart pointer: runtime crash in VS 9 running WinXP-Sp3
I am getting run time crash in the following piece of code and not able to debug also. Please review and let me know what\'s going on.[详细]
2023-02-05 10:21 分类:问答tr/regex c++ library - definition of regex pattern
How should i defi开发者_运维知识库ne the regex pattern, when i use the tr1/regex library? #include <tr1/regex>[详细]
2023-02-05 07:22 分类:问答Regular expressions matching
I have one function for checking, whether entered line is \"OK\". #include <tr1/regex> bool lineIsValid(string line) {[详细]
2023-02-04 23:16 分类:问答What are differences between std, tr1 and boost (as namespaces and/or libraries)?
I initially thought they\'re all the same, but it turned out to be wrong. So can anyone briefly explain the differences between these three? For example:[详细]
2023-02-03 21:37 分类:问答OS-X support for std::tr1
What is the current support for tr1 or the new C++0x on the Mac I know that the gcc supplied with XCode is always a couple of versions behind that available from gcc.gnu.org so I was just wondering w[详细]
2023-01-29 19:22 分类:问答