HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How to use C++ template

674 views November 11, 2019 16:32

Watch on YouTube
Channelhow to do it

Description from the creator

C++ template is fundamental concept in modern C++ and In this video I explain the template feature by answering all these questions:
What is a template?
How it works?
When should use a C++ template?
Practices examples to understand the concept





c++,microsoft visual c++,visual c++,dev c++,c++ list,g++,cppreference,microsoft visual c++ 2015,visual studio c++,eclipse c++,c++ auto,boost c++,c++ this,emscripten,c++ &,c 11,microsoftc++,c++ print,microsoft visual c++ 2010,visual c++ 2015,
C++ templates enable generic programming. C++ supports function, class, alias, and variable templates. Templates may be parameterized by types, compile-time constants, and other templates. Templates are implemented by instantiation at compile-time. To instantiate a template, compilers substitute specific arguments for a template's parameters to generate a concrete function or class instance. Some substitutions are not possible; these are eliminated by an overload resolution policy described by the phrase "Substitution failure is not an error" (SFINAE). Templates are a powerful tool that can be used for generic programming, template metaprogramming, and code optimization.

About this tutorial

how to do it published this 16:32 video tutorial on November 11, 2019. It has been watched 674 times on YouTube.

Duration
16:32
Published
November 11, 2019
Views
674
Likes
21

Tags

Share

This tutorial in other languages