0

There is such peace of code in chromium repo

  template <typename SupplementType>
  static SupplementType* From(const Supplementable<T>& supplementable) {
    return supplementable.template RequireSupplement<SupplementType>();
  }

I'd like to understand what happens here, but I have absolutely no idea about that. I mean line:

return supplementable.template RequireSupplement<SupplementType>();

Please, give some links to features of C++ which are used here.

Name
  • 124
  • 12

0 Answers0