serialize: Deprecate begin_ptr / end_ptr

Implement `begin_ptr` and `end_ptr` in terms of C++11 code,
and add a comment that they are deprecated.

Follow-up to developer notes update in 654a211622.
This commit is contained in:
Wladimir J. van der Laan
2016-09-30 17:21:12 +02:00
parent 47314e6daa
commit f00705ae7f
2 changed files with 11 additions and 12 deletions

View File

@@ -476,7 +476,7 @@ public:
}
}
value_type* data() noexcept {
value_type* data() {
return item_ptr(0);
}