# C++ keyword: template

> C++ Atlas: `cppatlas.com/w/cpp/keyword/template` | Source: https://en.cppreference.com/w/cpp/keyword/template | Domain: Keywords | Standards: C++11, C++20

## Official Specification Summary (cppreference)

### Usage

- Declaration of a template
- Inside a template definition, `template` can be used to declare that a dependent name is a template.

### See also

- [`class`](https://en.cppreference.com/w/cpp/keyword/class), [`typename`](https://en.cppreference.com/w/cpp/keywords/typename)

(until C++11):

- [`export`](https://en.cppreference.com/w/cpp/keyword/export) (mark a template definition exported)

(since C++20):

- [`concept`](https://en.cppreference.com/w/cpp/keyword/concept), [`requires`](https://en.cppreference.com/w/cpp/keyword/requires)

---
Attribution: content from https://en.cppreference.com/w/cpp/keyword/template (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.