Commit Graph

28 Commits

Author SHA1 Message Date
Roland Winklmeier
a36023f6d8 Add missing copy constructor and assignment operators 2018-08-09 01:25:46 +02:00
Mathew Sutcliffe
fcb6cf1a52 Removed type erasure in containers
Summary:
Refs T196
Using QVector as this is Qt's recommended container type.

Reviewers: #swift_developers, rwinklmeier

Reviewed By: #swift_developers, rwinklmeier

Subscribers: rwinklmeier, jenkins

Tags: #swift_pilot_client

Maniphest Tasks: T196

Differential Revision: https://dev.swift-project.org/D61
2017-11-23 22:15:23 +00:00
Mathew Sutcliffe
b20ebd6dfd refs #937 Resolved clazy warnings: rule of three. 2017-04-19 19:31:44 +01:00
Klaus Basan
0f2680ba2a Formatting #910 2017-04-18 00:00:06 +01:00
Mathew Sutcliffe
3351b1f8e1 refs #800 Fixed warning: deprecated implicit copy ctor/assign with user-declared dtor (rule of zero). 2016-12-13 19:00:38 +01:00
Mathew Sutcliffe
ffa24411d2 Narrow the explicit iterator category of our iterator adaptors to reflect their implicit category. 2016-08-26 21:04:45 +01:00
Mathew Sutcliffe
a0c20baf53 refs #697 Type traits renamed with T prefix. 2016-08-03 02:20:45 +01:00
Mathew Sutcliffe
b449487a71 refs #715 Support implicit conversion from CRange to QSet. 2016-07-29 17:09:05 +01:00
Mathew Sutcliffe
6a466a60ef Doxygen style. 2016-07-04 23:43:35 +01:00
Mathew Sutcliffe
323a5bb12f refs #698 CSequence iterator should be random access to improve STL algorithm efficiency. 2016-07-04 23:43:33 +01:00
Mathew Sutcliffe
a895cc2c54 refs #624 Removed many workarounds, no longer needed. 2016-03-22 16:02:58 +00:00
Mathew Sutcliffe
6f1cf8e3d7 refs #624 Replace typedef with using. 2016-03-22 16:02:50 +00:00
Mathew Sutcliffe
a8fc899219 refs #624 Use std alias traits. 2016-03-22 16:02:48 +00:00
Mathew Sutcliffe
eb4df2d893 refs #624 Use auto function return type deduction. 2016-03-22 16:02:33 +00:00
Mathew Sutcliffe
4700cb1602 refs #624 Use ref qualifiers. 2016-03-22 16:02:31 +00:00
Mathew Sutcliffe
91494ea2e5 refs #624 Swap functions, move constructors, and move assignment operators should all be noexcept where possible. 2016-03-21 02:20:01 +00:00
Roland Winklmeier
bd251b5de6 Fix license headers 2016-02-16 20:01:21 +01:00
Mathew Sutcliffe
527fa8a492 refs #296 implemented airportsInRange on XBus side 2014-07-18 23:32:55 +01:00
Mathew Sutcliffe
db6c6a6331 fixing GCC and Clang warnings and errors 2014-07-16 22:18:13 +01:00
Mathew Sutcliffe
f05c31871a added sanity checks in ConditionalIterator 2014-07-14 23:30:11 +01:00
Mathew Sutcliffe
ae4413abdd refs #290 added iterator adaptors which will allow to construct a CRange representing a transformation of its host container 2014-07-13 20:30:18 +01:00
Mathew Sutcliffe
e52a4da826 refs #124 using override keyword in containers' pimpls 2014-02-08 14:20:39 +00:00
Mathew Sutcliffe
c966d487f0 refs #91 Doxygen fixes in containers, predicates, and plugins.
Fixed PREDEFINED config in Doxyfile, so Doxygen only sees the variadic predicates.
2014-02-08 14:20:38 +00:00
Mathew Sutcliffe
396fab097a fixes #121 iterator error when compiling with Clang's libc++ 2014-02-07 17:50:19 +00:00
Mathew Sutcliffe
1e153b45f0 refs #108, added find methods in CSequence and CCollection;
CSequence uses std::find, and CCollection uses the more efficient find method of the implementation type,
which requires that the implementation type be an associative container like QSet or std::set.
Modified CContainerBase::contains to use these new find methods.
2014-01-28 18:25:14 +00:00
Mathew Sutcliffe
3d3a43602f removed unnecessary \param and \return lines from doxygen comments for container classes, refs #91 2014-01-25 19:36:41 +00:00
Mathew Sutcliffe
405ad7165e Iterator classes: removed templated ctors and added static methods to replace them,
for consistency with the container classes and to avoid any potential infinite recursion with MSVC2010.
See also commit:6a9065b

Also fixed a mistake in CSequence and CCollection, where Pimpl::erase was calling the wrong version of m_impl.erase
reported by Roland.
2014-01-11 16:53:21 +00:00
Mathew Sutcliffe
a57e640398 generic type-erased container types CSequence and CCollection, including predicate-based algorithms
refs #81
2014-01-08 00:59:31 +00:00