stdstring
C++ addition overload ambiguity
I am coming up against a vexing conundrum in my code base.I can\'t quite tell why my code generates this error, but (for example) std::string does not.[详细]
2022-12-26 02:50 分类:问答Setting an std::string variable value from gdb?
Is it possible... when the debugger is stopped at a breakpoint, to modify the value of a std::string variable without resorting to hacks like tweaking the memory image of 开发者_如何学JAVAthe current[详细]
2022-12-24 21:56 分类:问答using std::string with Qt causes run-time error on destruction
I have a Qt app that uses another library where the function output is std::string instead of a QString.[详细]
2022-12-21 09:42 分类:问答Invalid free while performing a std::string assign with -O2 set in g++
Before I get blasted on opening another question, this question is related to another question that I opened a few days ago:[详细]
2022-12-20 19:03 分类:问答How to get a basic preg_match_all replacement for std::string in C++?
with \"basic\" is meant: Only the operators \"+\" (->fo开发者_如何学Pythonllowing..) and \"|\" (->or) are needed.[详细]
2022-12-19 06:58 分类:问答C++ bitwise operators for std::string
My question is about how to use bitwise operators on C++ std::string. Through overloading or as function does not matter.[详细]
2022-12-18 12:39 分类:问答Why isn't string assignment optimised when the length is known to the compiler?
I was playing around today with some timing code and discovered that when asigning a string literal to std::string, that it was around 10% faster (with a short 12 char string, so likly even bigger dif[详细]
2022-12-18 10:55 分类:问答std::string - get data from start to end
I want to get some data between some 2 indexes. For example, I have string: \"just testing...\" and I need string from 2 till 6. I shoul开发者_如何学God get:[详细]
2022-12-18 05:02 分类:问答How do I convert a "pointer to const TCHAR" to a "std::string"?
I have a class which returns a typed pointer to a \"const TCHAR\".I need to convert it to a std::string but I have not found a way to make this happen.[详细]
2022-12-17 23:42 分类:问答Does "&s[0]" point to contiguous characters in a std::string?
I\'m doing some maintenance work and ran a开发者_运维百科cross something like the following: std::string s;[详细]
2022-12-15 08:59 分类:问答
加载中,请稍侯......