mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 18:20:26 +01:00
e00b4de672
Some types support being swapped but may not have declared their std::swap overloads when Poco/Optional.h is first included. This is the case for instance with #include <Poco/Optional.h> #include <array> using Problematic = Poco::Optional<std::array<int, 42> >; With an unqualified call to swap, preceded by using std::swap, we allow argument-dependent lookup to find suitable implementations of swap. |
||
---|---|---|
.. | ||
cmake | ||
include/Poco | ||
samples | ||
src | ||
testsuite | ||
CMakeLists.txt | ||
Foundation_vs160.sln | ||
Foundation_vs160.vcxproj | ||
Foundation_vs160.vcxproj.filters | ||
Foundation_vs170.sln | ||
Foundation_vs170.vcxproj | ||
Foundation_vs170.vcxproj.filters | ||
Makefile | ||
nonexistent.txt |