c++

C++ variadic templates

Introduction

C++11 variadic templates are templates accepting any number of template parameters.

Template metaprogramming

As we remember from the C++ templates introduction, the template argument will swallow anything and everything. This chapter is about intermediate to advanced use of templates in C++ and how to restrict the template parameters.

Templates on the surface

Templates is an important part of the C++ language. Templates is a language within the language. There are two kinds of templates, one is function templates and the other is template classes. This chapter will only go through the basic usage and explanations.

C++ casts

Casting in C++ is converting one type of data into an other type of data.

How to dynamically load native DLLs from C#

Loading native DLLs from a managed context (C#, VB.net) is an evil necessity. Native and managed must sometimes communicate, and sometimes the best way is to call native methods directly from a managed context.