Initialize this value as constant string, without calling destructor.
| 2000 | |
| 2001 | //! Initialize this value as constant string, without calling destructor. |
| 2002 | void SetStringRaw(StringRefType s) RAPIDJSON_NOEXCEPT { |
| 2003 | data_.f.flags = kConstStringFlag; |
| 2004 | SetStringPointer(s); |
| 2005 | data_.s.length = s.length; |
| 2006 | } |
| 2007 | |
| 2008 | //! Initialize this value as copy string with initial data, without calling destructor. |
| 2009 | void SetStringRaw(StringRefType s, Allocator& allocator) { |
no test coverage detected