nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [nifi-minifi-cpp] hunyadi-dev commented on a change in pull request #773: MINIFICPP-1202 - Extend interface and add new tests for MinifiConcurrentQueue
Date Tue, 28 Apr 2020 12:08:02 GMT

hunyadi-dev commented on a change in pull request #773:
URL: https://github.com/apache/nifi-minifi-cpp/pull/773#discussion_r416559460



##########
File path: libminifi/include/utils/MinifiConcurrentQueue.h
##########
@@ -32,7 +33,7 @@ namespace utils {
 
 // Provides a queue API and guarantees no race conditions in case of multiple producers and
consumers.
 // Guarantees elements to be dequeued in order of insertion
-template <typename T>
+template <typename T, typename = typename std::enable_if<std::is_nothrow_move_constructible<T>::value>::type>

Review comment:
       This is now replaced with static assertions.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message