wangxiaowei0303 / rapidjson

Automatically exported from code.google.com/p/rapidjson
MIT License
0 stars 0 forks source link

StringBuffer Size does not work. #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use a StringBuffer for the output stream with a Writer
2. When grabbing the string, make a std::string(buf.GetString(), buf.Size())
3.

What is the expected output? What do you see instead?
This should compile and build a std::string with the buffer's contents copied 
into it.  Instead, the code fails to compile.  internal::Stack does not have a 
member function Size(), but rather GetSize().

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by brian.budge@gmail.com on 22 Feb 2012 at 9:59

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r60.

Original comment by milo...@gmail.com on 28 Feb 2012 at 6:18