Explore >> Select a destination


You are here

eyakubovich.github.io
| | www.bfilipek.com
4.1 parsecs away

Travel
| | Variadic Templates from C++11 is probably not a feature that you use on a daily basis. But recently, I've come across one refactoring example where I've decided to give a try and apply variadics. Intro When I was doing some work in some old UI code I've noticed several similar lines of code that looked like that:
| | studiofreya.org
3.5 parsecs away

Travel
| | [AI summary] A C++11 variadic template example demonstrating perfect forwarding to wrap constructor calls for a structure.
| | cppstories.com
4.4 parsecs away

Travel
| | Let's say we have the following code: LegacyList* pMyList = new LegacyList(); ... pMyList->ReleaseElements(); delete pMyList; In order to fully delete an object we need to do some additional action. How to make it more C++11? How to use unique_ptr or shared_ptr here? Intro We all know that smart pointers are really nice things and we should be using them instead of raw new and delete.
| | akrzemi1.wordpress.com
23.5 parsecs away

Travel
| What is the difference between a concept and a type trait? Note that you can create a type trait using a requires-expression: You can also constrain a template with a type trait using a requires-clause: There are differences though. Some are in the language, some in the tools, and one is human communication. Concepts for...