| 2417 | bool StartArray() { new (stack_.template Push<ValueType>()) ValueType(kArrayType); return true; } |
| 2418 | |
| 2419 | bool EndArray(SizeType elementCount) { |
| 2420 | ValueType* elements = stack_.template Pop<ValueType>(elementCount); |
| 2421 | stack_.template Top<ValueType>()->SetArrayRaw(elements, elementCount, GetAllocator()); |
| 2422 | return true; |
| 2423 | } |
| 2424 | |
| 2425 | private: |
| 2426 | //! Prohibit copying |