Preparation for std::iterator Being Deprecated

The discussed alternatives are clear but I feel that a code example is needed. Given that there will not be a language substitute and without relying on boost or on your own version of iterator base class, the following code that uses std::iterator will be fixed to the code underneath. With std::iterator template<long FROM, long … Read more

What is the need of template lambda introduced in C++20 when C++14 already has generic lambda?

C++14 generic lambdas are a very cool way to generate a functor with an operator () that looks like this: template <class T, class U> auto operator()(T t, U u) const; But not like this: template <class T> auto operator()(T t1, T t2) const; // Same type please Nor like this: template <class T, std::size_t … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)