Check out example codes for "templates of templates c++". It will help you in understanding the concepts better.

Code Example 1

namespace std {
  template<typename t> struct hash<MyClass<t>>
  {
  	size_t operator() (const MyClass<t>& c) const;
  }
}

// You can also do things like

template<template<typename t> class type> func_name<type<t>>();

Learn ReactJs, React Native from akashmittal.com