Issue #15 CVariant can convert between CVariantList and our other container classes

This commit is contained in:
Mat Sutcliffe
2019-02-26 01:51:11 +00:00
parent e8a0a0b6ba
commit 07f6c8b73c
11 changed files with 212 additions and 13 deletions

View File

@@ -80,6 +80,12 @@ namespace BlackMisc
//! Destructor.
~CSequence() = default;
//! Copy of internal vector.
//! @{
QVector<T> toVector() const & { return m_impl; }
QVector<T> toVector() && { return std::move(m_impl); }
//! @}
//! Returns iterator at the beginning of the sequence.
iterator begin() { return m_impl.begin(); }