1#ifndef ZSERIO_DATA_VIEW_H_INC
2#define ZSERIO_DATA_VIEW_H_INC
25 template <
typename...
ARGS>
28 m_ownData(
std::move(data))
39 template <
typename...
ARGS>
44 detail::validate(*
this);
45 (
void)detail::initializeOffsets(*
this, 0);
54 template <
typename...
ARGS>
57 m_ownData(
std::move(data))
59 detail::validate(*
this);
60 (
void)detail::initializeOffsets(*
this, 0);
70 m_ownData(
other.m_ownData)
80 m_ownData(
std::move(
other.m_ownData))
98template <
typename T,
typename...
ARGS>
DataView & operator=(const DataView &other)=delete
DataView & operator=(DataView &&other)=delete
DataView(const T &data, ARGS &&... arguments)
DataView(T &&data, ARGS &&... arguments)
DataView(const DataView &other)
DataView(BitStreamReader &reader, T &&data, ARGS &&... arguments)
DataView(DataView &&other)