adamdebreceni commented on a change in pull request #797:
URL: https://github.com/apache/nifi-minifi-cpp/pull/797#discussion_r431216668
##########
File path: libminifi/include/core/PropertyValue.h
##########
@@ -138,26 +150,28 @@ class PropertyValue : public state::response::ValueNode {
*/
template<typename T>
auto operator=(const T ref) -> typename std::enable_if<std::is_same<T,
std::string>::value,PropertyValue&>::type {
Review comment:
I believe `T` if not explicitly provided will always be deduced to a
non-reference type, good question what the author wanted to prevent (or
facilitate) with this solution
----------------------------------------------------------------
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]