|
You are here |
eyakubovich.github.io | ||
| | | | |
www.foonathan.net
|
|
| | | | | Just like regular function parameters, template parameters can also have default parameters. For class templates, this behaves mostly just like default function arguments: if you pass fewer template arguments than required, default template arguments are used to fill the remaining places. However, for function templates, it gets more complicated as template parameters for functions can be deduced by the normal function arguments. This leads to some interesting side-effects. In particular, default argumen... | |
| | | | |
articles.bchlr.de
|
|
| | | | | [AI summary] The article discusses challenges and workarounds for upcasting trait objects in Rust, exploring the limitations of dynamic dispatch and potential solutions through vtable structures and custom trait implementations. | |
| | | | |
www.cppstories.com
|
|
| | | | | While learning how to use the new C++ Standard, I encountered several intriguing cases with smart pointers. Casting? Array handling? Passing to functions? Let's review some common concerns so that we don't shoot yourself in the foot :) I created this post back in 2013, and I updated it in 2014 and recently in 2021. | |
| | | | |
cukic.co
|
|
| | | Author of the 'Functional Programming in C++' book, KDE developer and Free/Libre Software enthusiast. | ||