Explicit template instantiations for mixins for containers

This commit is contained in:
Mat Sutcliffe
2021-10-06 18:11:05 +01:00
parent 2b72600937
commit a185c7aae7
122 changed files with 340 additions and 5 deletions

View File

@@ -18,6 +18,7 @@ using namespace BlackMisc::Network;
using namespace BlackMisc::PhysicalQuantities;
BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackCore::Db, CDatabaseReaderConfig)
BLACK_DEFINE_SEQUENCE_MIXINS(BlackCore::Db, CDatabaseReaderConfig, CDatabaseReaderConfigList)
namespace BlackCore::Db
{

View File

@@ -87,7 +87,12 @@ namespace BlackCore::Db
BLACK_METAMEMBER(retrievalMode),
BLACK_METAMEMBER(cacheLifetime));
};
}
BLACK_DECLARE_SEQUENCE_MIXINS(BlackCore::Db, CDatabaseReaderConfig, CDatabaseReaderConfigList)
namespace BlackCore::Db
{
//! Value object encapsulating a list of reader configs.
class BLACKCORE_EXPORT CDatabaseReaderConfigList :
public BlackMisc::CSequence<CDatabaseReaderConfig>,