// Gets the Value at the given index. Modifies |out_value| (and returns true)
// only if the index falls within the current list range.
// Note that the list always owns the Value passed out via |out_value|.
bool Get(size_t index, const Value* out_value) const;
bool Get(size_t index, Value* out_value);
The first Get() has parameter "const Value\ out_value". How can I modify the content of a const pointer? It seems to be impossible....
// Gets the Value at the given index. Modifies |out_value| (and returns true) // only if the index falls within the current list range. // Note that the list always owns the Value passed out via |out_value|. bool Get(size_t index, const Value* out_value) const; bool Get(size_t index, Value* out_value);
The first Get() has parameter "const Value\ out_value". How can I modify the content of a const pointer? It seems to be impossible....