Blog Posts

Recent posts

C++ - decltype example

less than 1 minute read

The following code is trying to make a reference to avoid the copy 1 auto& element = *pos;

C++ - static_pointer_cast

less than 1 minute read

C++11 introduce the static_pointer_cast which will allow to case the shared_ptr to another type without runtime checking.