edit content of post const in C++