17 #ifndef BIT_FIELD_ARRAY_H_INCLUDED
18 #define BIT_FIELD_ARRAY_H_INCLUDED
20 #include <Pb/compiler.h>
21 #include <Pb/meta_util.h>
23 #include <Pb/meta_fwd.h>
24 #include <Pb/bit_field/packed_bits.h>
25 #include <Pb/bit_field/bit_field.h>
26 #include <Pb/integer_sequence.h>
73 typedef std::array<value_type, N> array_type;
107 std::fill(m_data.begin(), m_data.end(),
value_type());
116 std::copy( rhs.
begin(),
126 ::memcpy(&m_data[0], &rhs[0],
sizeof(
value_type) * N);
140 std::copy( rhs.
begin(),
151 ::memcpy(&m_data[0], &rhs[0],
sizeof(
value_type) * N);
185 return m_data.size();