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



##########
File path: libminifi/include/utils/GeneralUtils.h
##########
@@ -61,6 +61,17 @@ T exchange(T& obj, U&& new_value) {
 template<typename...>
 using void_t = void;
 
+template<class T>
+using remove_reference_t = typename std::remove_reference<T>::type;
+
+template<class T>
+using remove_cv_t = typename std::remove_cv<T>::type;
+
+template<class T>
+struct remove_cvref {
+    typedef remove_cv_t<remove_reference_t<T>> type;
+};

Review comment:
       As requested.

##########
File path: libminifi/include/utils/GeneralUtils.h
##########
@@ -61,6 +61,17 @@ T exchange(T& obj, U&& new_value) {
 template<typename...>
 using void_t = void;
 
+template<class T>
+using remove_reference_t = typename std::remove_reference<T>::type;
+
+template<class T>
+using remove_cv_t = typename std::remove_cv<T>::type;

Review comment:
       Updated as requested.




----------------------------------------------------------------
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:
[email protected]


Reply via email to