Skip to content

Commit b5e3ca1

Browse files
author
Colin Robertson
authored
Merge pull request MicrosoftDocs#90 from Paul-Dempsey/patch-5
Apply cpp to code samples for syntax highlighting
2 parents a8287b6 + de4a894 commit b5e3ca1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/cpp/function-template-instantiation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ When a function template is first called for each type, the compiler creates an
4141

4242
Function templates can be explicitly instantiated by declaring the template with a particular type as an argument. For example, the following code is allowed:
4343

44-
```
44+
```cpp
4545
// function_template_instantiation.cpp
4646
template<class T> void f(T) { }
4747

@@ -58,4 +58,4 @@ int main()
5858
```
5959
6060
## See Also
61-
[Function Templates](../cpp/function-templates.md)
61+
[Function Templates](../cpp/function-templates.md)

0 commit comments

Comments
 (0)