call of overloaded ‘bind is ambiguous ( Poco::Data::Keywords::useRef + Poco::Nullable<bool> + const_iterator) #4436
Replies: 5 comments
-
What compiler and version? These types of issues are virtually impossible to help with if the compiler isn't known. |
Beta Was this translation helpful? Give feedback.
-
gcc (Ubuntu 8.4.0-1ubuntu1~16.04.1) 8.4.0 |
Beta Was this translation helpful? Give feedback.
-
Which version of Poco do you try to compile? Does it work with latest version of the code? FYI: Latest Poco (1.13) requires a compiler that supports C++17. GCC 8 does not fully support that standard. |
Beta Was this translation helpful? Give feedback.
-
SSCCE please |
Beta Was this translation helpful? Give feedback.
-
Hello guys, I think I'm running poco version 1.12.3 ( as is written in the "VERSION" file in the root dir of the poco source) attached is an SSCCE. :-) |
Beta Was this translation helpful? Give feedback.
-
I'm using a fairly recent version of Poco , from 7.2023
getting the error
/home/omerbrandis/Downloads/poco-devel-24.7.2023/Data/include/Poco/Data/TypeHandler.h:121: error: call of overloaded ‘bind(std::size_t&, const Poco::Nullable&, Poco::Data::AbstractBinder::Direction&)’ is ambiguous
pBinder->bind(pos, obj, dir);
^~~~~~~
My code
however using a temporary works:
Can someone point me in the right direction?
Beta Was this translation helpful? Give feedback.
All reactions