mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 01:45:38 +08:00
Issue #15 CVariant can convert between CVariantList and our other container classes
This commit is contained in:
@@ -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(); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user