Tag: "c++11"

Thoughts on delete in C++

Consider following piece of code: #include using namespace std; struct A { void f1() = delete; }; struct B : A { void f1() { cout more »

Typedef vs using (C++11)

C++11 introduced a new usage of using keyword. Now it can be used as a typedef alias. Let’s look how does it work. typedef std::vector::iterator StringVectorIterator;  using StringVectorIterator = std::vector::iterator; Both… more »