Merge pull request #1935 from Tocic/patch-1

Update Tutorial_hello_world.txt
This commit is contained in:
Laurent Rineau 2017-03-01 10:52:22 +01:00 committed by GitHub
commit 2249dfde06
1 changed files with 2 additions and 2 deletions

View File

@ -291,7 +291,7 @@ is a class that fulfills the requirements of the concept.
Let's have a look at the following function.
\code{.cpp}
template <T>
template <typename T>
T
duplicate(T t)
{
@ -308,7 +308,7 @@ Another example is the function
\code{.cpp}
template <typename T>
T& std::min(const T& a, constT& b)
T& std::min(const T& a, const T& b)
{
return (a<b)?a:b;
}