mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-04 00:45:46 +08:00
Allow init by QList in CSequence
This commit is contained in:
@@ -59,6 +59,11 @@ namespace BlackMisc
|
|||||||
*/
|
*/
|
||||||
CSequence(std::initializer_list<T> il) : m_pimpl(new Pimpl<QList<T>>(QList<T>(il))) {}
|
CSequence(std::initializer_list<T> il) : m_pimpl(new Pimpl<QList<T>>(QList<T>(il))) {}
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* \brief By QList of type <T>.
|
||||||
|
*/
|
||||||
|
CSequence(const QList<T> &list) : m_pimpl(new Pimpl<QList<T>>(QList<T>(list))) {}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief Copy constructor.
|
* \brief Copy constructor.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user