forked from organicmaps/organicmaps-tmp
Add debug_print for buffer_vector.
This commit is contained in:
parent
f0b2633d2f
commit
f4912829f1
1 changed files with 6 additions and 0 deletions
|
@ -140,3 +140,9 @@ public:
|
|||
|
||||
template <class T, size_t N>
|
||||
void swap(buffer_vector<T, N> & r1, buffer_vector<T, N> & r2) { r1.swap(r2); }
|
||||
|
||||
template <typename T, size_t N>
|
||||
inline string debug_print(buffer_vector<T, N> const & v)
|
||||
{
|
||||
return ::my::impl::DebugPrintSequence(v.data(), v.data() + v.size());
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue