mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 10:45:37 +08:00
Use C++14 features to simplify our container base classes
Summary: Using C++14 function return type deduction we can simplify the CRTP in CContainerBase etc. Reviewers: #swift_developers, rwinklmeier Reviewed By: #swift_developers, rwinklmeier Subscribers: jenkins Tags: #swift_pilot_client Differential Revision: https://dev.swift-project.org/D65
This commit is contained in:
@@ -67,7 +67,7 @@ namespace BlackMisc
|
||||
*/
|
||||
template <class T>
|
||||
class CCollection :
|
||||
public CContainerBase<CCollection, T, Iterators::ConstForwardIterator<T>>,
|
||||
public CContainerBase<CCollection<T>>,
|
||||
public Mixin::Icon<CCollection<T>>
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user