/** \brief Add end marker to bytecode. \throw nothrow */ void ParserByteCode::Finalize() { m_vBase.push_back(cmEND); m_vBase.push_back(cmEND); // m_vBase.push_back(cmEND); // shrink bytecode vector to fit storage_type(m_vBase).swap(m_vBase); }
/** \brief Add end marker to bytecode. \throw nothrow */ void ParserByteCode::Finalize() { // yes we need the end code three times!! (I forgot why) m_vBase.push_back(cmEND); m_vBase.push_back(cmEND); m_vBase.push_back(cmEND); // shrink bytecode vector to fit storage_type(m_vBase).swap(m_vBase); }
void ECResyncSet::Append(const SBinary &sbinSourceKey, const SBinary &sbinEntryID, const FILETIME &lastModTime) { m_map.insert(map_type::value_type( array_type(sbinSourceKey.lpb, sbinSourceKey.lpb + sbinSourceKey.cb), storage_type(array_type(sbinEntryID.lpb, sbinEntryID.lpb + sbinEntryID.cb), lastModTime))); }
constexpr compact_optional_base() noexcept( noexcept(storage_type(N::empty_value()))) : value_(N::empty_value()) {}