enh(Poco::Dynamic): Modernised code to use C++17 features.

This commit is contained in:
Matej Kenda
2025-01-08 12:50:09 +01:00
parent 4ca735d7d8
commit 7495f0592c
7 changed files with 942 additions and 1013 deletions

View File

@@ -34,11 +34,11 @@ class Foundation_API VarIterator
/// VarIterator class.
{
public:
typedef std::bidirectional_iterator_tag iterator_category;
typedef Var value_type;
typedef std::ptrdiff_t difference_type;
typedef Var* pointer;
typedef Var& reference;
using iterator_category = std::bidirectional_iterator_tag;
using value_type = Var;
using difference_type = std::ptrdiff_t;
using pointer = Var *;
using reference = Var &;
static const std::size_t POSITION_END;
/// End position indicator.